Skip to content

Commit

Permalink
removed dubug prints
Browse files Browse the repository at this point in the history
  • Loading branch information
yaelbh committed Dec 5, 2024
1 parent 0c04455 commit 3ffc8cd
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
11 changes: 0 additions & 11 deletions qiskit_ibm_runtime/transpiler/passes/basis/fold_rzz_angle.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,17 +138,6 @@ def _unbounded_parameter(
+ quad4 * (-wrap_angle)
)

val = -0.1
print(
wrap_angle.assign(angle, val),
pi_phase.assign(angle, val),
global_phase.assign(angle, val),
quad1.assign(angle, val),
quad2.assign(angle, val),
quad3.assign(angle, val),
quad4.assign(angle, val),
)

new_dag = DAGCircuit()
new_dag.add_qubits(qubits=qubits)
new_dag.apply_operation_back(GlobalPhaseGate(global_phase))
Expand Down
5 changes: 0 additions & 5 deletions test/unit/transpiler/passes/basis/test_fold_rzz_angle.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,11 +93,6 @@ def test_folding_rzz_angle_unbound(self, angle):
qc.assign_parameters({param: angle}, inplace=True)
isa.assign_parameters({param: angle}, inplace=True)

print(isa)

print(Operator.from_circuit(qc))
print(Operator.from_circuit(isa))

self.assertEqual(Operator.from_circuit(qc), Operator.from_circuit(isa))
for inst_data in isa.data:
if inst_data.operation.name == "rzz":
Expand Down

0 comments on commit 3ffc8cd

Please sign in to comment.