You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given a circuit with only clifford gates (i.e all angles multiples of pi/2), the transpiler sometimes introduces non-clifford angles. This can be a problem as many optimizations work best when dealing with Clifford angles rather than arbitrary angles, so the transpiler is making it harder for downstream passes.
This circuit is purely Clifford (i.e. all angles are integer multiples of pi/2). However when transpiled with optimization levels 1 and above, the transpiler introduces non-clifford angles.
What should happen?
The transpiler should preserve the clifford property of circuits and not introduce arbitrary angles.
Any suggestions?
The culprit is probably OneQubitEulerDecomposer or TwoQubitBasisDecomposer although I have not investigated deeply.
The text was updated successfully, but these errors were encountered:
ajavadia
changed the title
OneQubitEulerDecomposer introduces non-clifford gates in a purely clifford circuit
transpiler introduces non-clifford gates in a purely clifford circuit
May 7, 2024
Environment
What is happening?
Given a circuit with only clifford gates (i.e all angles multiples of pi/2), the transpiler sometimes introduces non-clifford angles. This can be a problem as many optimizations work best when dealing with Clifford angles rather than arbitrary angles, so the transpiler is making it harder for downstream passes.
How can we reproduce the issue?
consider the following example circuit
This circuit is purely Clifford (i.e. all angles are integer multiples of pi/2). However when transpiled with optimization levels 1 and above, the transpiler introduces non-clifford angles.
What should happen?
The transpiler should preserve the clifford property of circuits and not introduce arbitrary angles.
Any suggestions?
The culprit is probably OneQubitEulerDecomposer or TwoQubitBasisDecomposer although I have not investigated deeply.
The text was updated successfully, but these errors were encountered: