This repository has been archived by the owner on Jan 12, 2024. It is now read-only.
DumpMachine output uses different ket symbols depending on the relative phase #1080
Labels
bug
Something isn't working
Describe the bug
DumpMachine uses different ket symbols for states with real and complex amplitudes.
This happens both for full state simulator and for sparse simulator.
To Reproduce
The following code produces the following output on full state simulator:
The output for sparse simulator is the same, minus the basis state with zero amplitude.
Expected behavior
I expect DumpMachine to use the same ket symbol always, preferably the one that renders in the output (the one currently used for basis states with relative phase).
System information
The text was updated successfully, but these errors were encountered: