Skip to content

Commit

Permalink
delete print statement
Browse files Browse the repository at this point in the history
  • Loading branch information
sabinadragoi committed Nov 23, 2023
1 parent 9d1745f commit 1acb322
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion qopt_best_practices/swap_strategies/build_circuit.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,6 @@ def create_qaoa_swap_circuit(
for pauli, gate_weight in zip(gate_list, weights_list):

if sum(pauli.z) == 1:
print("pauli, gate_weight, gamma=", (pauli, gate_weight, gamma))
qubit_index = np.where(pauli.z == True)[0][0]
cost_operator_order1_only.rz(gate_weight*gamma, qubit_index)

Expand Down

0 comments on commit 1acb322

Please sign in to comment.