From caa00461c3b9c1229f2dccc0135c91ffbcbad323 Mon Sep 17 00:00:00 2001 From: Fionn Malone Date: Fri, 28 Jun 2024 21:37:59 +0000 Subject: [PATCH] Add missing changes. --- recirq/qcqmc/afqmc_generators.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/recirq/qcqmc/afqmc_generators.py b/recirq/qcqmc/afqmc_generators.py index f47614bc..3f805d78 100644 --- a/recirq/qcqmc/afqmc_generators.py +++ b/recirq/qcqmc/afqmc_generators.py @@ -46,11 +46,13 @@ def get_pp_plus_gate_generators( The list of generators necessary to construct the ansatz. """ heuristic_gate_generators = get_heuristic_gate_generators(n_elec, heuristic_layers) + print(heuristic_gate_generators) if not do_pp: return heuristic_gate_generators n_pairs = n_elec // 2 pair_gate_generators = get_pair_hopping_gate_generators(n_pairs, n_elec) + print(pair_gate_generators) return pair_gate_generators + heuristic_gate_generators @@ -86,7 +88,7 @@ def get_charge_charge_generator(indices: Tuple[int, int]) -> of.FermionOperator: """Returns the generator for density evolution between the indices Args: - indices: The indices to for charge-charge terms.:w + indices: The indices to for charge-charge terms. Returns: The generator for density evolution for this pair of electrons.