From what I can understand from the source code, the circuit is converted into a DAG before the decomposition transpiler is performed onto the DAG circuit.

How does converting to a DAG circuit help us recognise the gate operations needed to reach a certain state say for example the entangled state $\frac{1}{\sqrt{2}}(|00\rangle +|11\rangle)$. Or basically, how does that decomposition work?

  • 1
    $\begingroup$ This answer may help giving you an idea $\endgroup$
    – epelaez
    Jun 28, 2021 at 18:11


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.