We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gate.decompose
Decomposition of controlled gates not only loses the control information after .decompose(), but also acts on wrong qubits.
.decompose()
In [7]: from qibo import Circuit, gates ...: ...: circuit = Circuit(3) ...: circuit.add(gates.U3(0, 0.1, 0.2, 0.3).controlled_by(1, 2).decompose()) ...: circuit.draw() 0: ──────────────── 1: ─RZ─SX─RZ─SX─RZ─ 2: ────────────────
The text was updated successfully, but these errors were encountered:
renatomello
Successfully merging a pull request may close this issue.
Decomposition of controlled gates not only loses the control information after
.decompose()
, but also acts on wrong qubits.The text was updated successfully, but these errors were encountered: