As I could found in here how the transpile works in qiskit, I understood that transpile gets arbitrary Unitary gate $U$ and some set of basis gates as input, and produce some quantum circuit of $U$ implemented with those basis gates.

So, I understood this transpile process as some sort of 'synthesis' problem that has been shown in some literature, but I can't find which synthesis method does Qiskit implemented for their transpile process. Will there be any references or docs that I can refer to?


1 Answer 1


The function transpile uses unitary synthesis methods. That's done by a transpiler pass called UnitarySynthesis (source code here). Depending on the size of the gate to synthesize it has different methods. For example, single-qubit gates are converted into Euler angle rotations by qiskit.quantum_info.synthesis.OneQubitEulerDecomposer (source code here).

  • $\begingroup$ Thanks for your answer. $\endgroup$ Mar 26, 2021 at 7:34

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.