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
{{ message }}
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.
Describe the bug
DumpMachine called from Q# unit test (defined using
@Test
attribute) does not print program state.To Reproduce
Superposition kata uses DumpMachine to print expected and actual states for each exercise. You can run
dotnet test
on that project to see that there are no state dumps after "The desired state" and "The actual state" (https://github.com/microsoft/QuantumKatas/blob/main/Superposition/Tests.qs).Expected behavior
Program state is printed in the unit tests.
System information
Additional context
When the same code is invoked from Q# Jupyter Notebook frontend, state dumps are produced successfully.
The text was updated successfully, but these errors were encountered: