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
q_0: ───────■─────────────■──────────────■───────────────■───────
┌───┐┌─┴─┐┌───────┐┌─┴─┐┌───┐┌───┐┌─┴─┐┌─────────┐┌─┴─┐┌───┐
q_1: ┤ H ├┤ X ├┤ Rz(π) ├┤ X ├┤ H ├┤ H ├┤ X ├┤ Rz(π/2) ├┤ X ├┤ H ├
└───┘└───┘└───────┘└───┘└───┘└───┘└───┘└─────────┘└───┘└───┘
The text was updated successfully, but these errors were encountered:
Therefore, the authors should be aware of this problem. There are probably some documents, issues, pull requests, or code comments that explain the design choices or the difficulties leading to the current status. I have not found them, though.
Information
What is the current behavior?
The following snippet
Produces
As you can see, instead of creating a single
rzx
instruction that usesparam0
, it creates a singlerzx
for each value present in the circuit.Steps to reproduce the problem
This happens with at least all other
RPPGate
s, wherePP
is placeholder for some Pauli matrices. I haven't tested it with other parameterized gates.What is the expected behavior?
I think the output QASM string should look like:
I tested it and using that string to build a
QuantumCircuit
gives the intended circuit.Output:
The text was updated successfully, but these errors were encountered: