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
I am trying to make convert and use QuantumCircuit from OpenQASM3 file. After obtaining the circuit (an instance of QuantumCircuit class), I added save_statevector() instruction and CircuitError: 'duplicate qubit arguments' error is thrown.
Thanks for the report - this is actually a bug in Aer (which is what defines the save_statevector method) that's calculating the qubits in a circuit slightly incorrectly if there's overlapping registers. I'll transfer this issue over there so we can fix it.
Environment
What is happening?
I am trying to make convert and use QuantumCircuit from OpenQASM3 file. After obtaining the circuit (an instance of QuantumCircuit class), I added save_statevector() instruction and
CircuitError: 'duplicate qubit arguments'
error is thrown.How can we reproduce the issue?
What should happen?
There shouldn't be any error thrown.
Any suggestions?
No response
The text was updated successfully, but these errors were encountered: