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
The duplicate_qubit_detect_map should be updated across argument validation. Presently, it is only getting updated if a register name is not present.
Moreover, the validate_unique_qubits should have a more descriptive doc and moved to the Qasm3SubroutineProcessor because it is referred only inside the process_quantum_arg method
The text was updated successfully, but these errors were encountered:
Environment
What happened?
The following qasm program passes unrolling -
but should have raised the error that we have duplicate qubit arguments present in the function call.
Suggestions (Optional)
duplicate_qubit_detect_map
should be updated across argument validation. Presently, it is only getting updated if a register name is not present.validate_unique_qubits
should have a more descriptive doc and moved to theQasm3SubroutineProcessor
because it is referred only inside theprocess_quantum_arg
methodThe text was updated successfully, but these errors were encountered: