Skip to content
Discussion options

You must be logged in to vote

Gate order does matter.
What you seem to want to be testing is whether quantum circuits are reversible.

For example, for this circuit:

Simulating this circuit with its reversed circuit appended:

produces a result of 100% in the $|0001\rangle$ state, proving it's reversible.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Geremia
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants