This repository has been archived by the owner on Jan 12, 2024. It is now read-only.
Consistent feedback when unreleased qubits are accessed #984
Labels
enhancement
New feature or request
Please describe what you would like the feature to accomplish.
Qubits are deallocated when the scope of the corresponding
use
statement is closed. When dangling qubits are returned, various errors are observed in different simulators.Describe the solution you'd like
The program should not compile independent of what simulator is used.
Describe alternatives you've considered
N/A
Additional context
Consider the following program:
Running with different simulators:
The text was updated successfully, but these errors were encountered: