We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5c6d650 commit 66a90deCopy full SHA for 66a90de
1 file changed
test/python/transpiler/test_two_qubit_peephole.py
@@ -713,6 +713,7 @@ def test_two_qubit_parametrized_gates_controlled_u_target(
713
dict(sorted(transpiled_circuit.count_ops().items())),
714
dict(sorted(legacy.count_ops().items())),
715
)
716
+ self.assertEqual(transpiled_circuit.size(lambda x: x.operation.num_qubits == 2), 1)
717
718
def test_two_qubit_rzz_cz_gates_rzz_target(self):
719
"""Test the synthesis of a circuit containing a RZZ and CZ gates
0 commit comments