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
@elenbaasc@juanboschero I think we have to be more specific about this issue. I think the idea would be that, as well as you can use SGMQ (Single Gate Multiple Qubit) notation in the language, you should also be able to use it in the CircuitBuilder. But that doesn't mean that the Measure IR node can have multiple qubits. I think that would complicate the work on the rest of the compiler passes (imagine treating a measure q[1, 3, 5] as a single node instead of as 3 separate nodes, in terms of moving instructions around, dependencies with other instructions and so on...).
The current
Measure
function allows a single Qubit object i.eMeasure(Qubit(1))
. If one wants multiple measures, the user needs to specify:Measure([Qubit(0),Qubit(1),Qubit(2)])
Measure(qubits = [0,1,2])
Measure()
performs a measure allThe text was updated successfully, but these errors were encountered: