# How to prove quantum circuit identity in Qiskit?

I am working on a simple quantum circuit identity. I proved it on paper with the tensor product, but i'm having trouble showing that with qiskit. I know I need to measure them somehow but i don't know how. Can someone help? :)

• Do you mean proving circuit equivalence? Neither of those circuits is the identity circuit.
– orlp
Apr 18 '20 at 0:03

def circuits_equivalent(a, b):