Closed junnaka51 closed 1 year ago
circuit.assert_equal(circ_a, circ_b) circuit.assert_equal_to_operator(circ_a, op_b) operator.assert_equal(op_a, op_b)
=>
assert_equal(circuit_a=circ_a, circuit_b=circ_b) assert_equal(circ_a, unitary_matrix=op_b) assert_equal(op_a, unitary_operator=op_b) assert_equal(op_a, circ_b)
This needs more considerations before tackilng.
circuit.assert_equal(circ_a, circ_b) circuit.assert_equal_to_operator(circ_a, op_b) operator.assert_equal(op_a, op_b)
=>
assert_equal(circuit_a=circ_a, circuit_b=circ_b) assert_equal(circ_a, unitary_matrix=op_b) assert_equal(op_a, unitary_operator=op_b) assert_equal(op_a, circ_b)
This needs more considerations before tackilng.