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
When I debug code that doesn't have qubits allocated, the "Q# Circuit" panel correctly says "No qubits have been allocated", but the Quantum State is shown as |0> which corresponds to one qubit.
To Reproduce
Debug any operation that doesn't allocate qubits (for example, calculates classical values before anything quantum).
Expected behavior
No state shown - either no fields under "Quantum State", or a message saying "No qubits have been allocated"
System information
QDK 1.8.0
The text was updated successfully, but these errors were encountered:
Instead of showing a single bit zero state, this change makes the debugger quantum state view show a message when no qubits are allocated on the system:
Fixes#1922
Describe the bug
When I debug code that doesn't have qubits allocated, the "Q# Circuit" panel correctly says "No qubits have been allocated", but the Quantum State is shown as |0> which corresponds to one qubit.
To Reproduce
Debug any operation that doesn't allocate qubits (for example, calculates classical values before anything quantum).
Expected behavior
No state shown - either no fields under "Quantum State", or a message saying "No qubits have been allocated"
System information
The text was updated successfully, but these errors were encountered: