This repository has been archived by the owner on Jan 12, 2024. It is now read-only.
A problem about qubit register release #639
Labels
Kind-Bug
Something isn't working
Kind-Question
Issue is a question about Q# libraries, rather than a bug or enhancement
Pkg-Standard
Issue relates to the Microsoft.Quantum.Standard package.
Description:
In the following test case, there is a strange memory release problem when the non-all-zero qubits are not measured, and the error line information is ambiguous because there is nothing to do in line 13. At the same time, if the X operation replaces IncrementByModularInteger, the same phenomenon will occur. And MultiM operation does not reset the measured qubits to the |0⟩ state. So can you give me some suggestions about why this behavior occurred?
Testcase
Environment
operating system : Windows 11
dotnet version : 6.0.400
QDK : 0.25.228311
The text was updated successfully, but these errors were encountered: