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 trying to evaluate a conditional statement depending of a superposition state of QuantumModulus, the result is wrong and not in superposition.
Here is a code snippet showing the issue and the expected behavior with QuantumFloat
When trying to evaluate a conditional statement depending of a superposition state of QuantumModulus, the result is wrong and not in superposition.
Here is a code snippet showing the issue and the expected behavior with QuantumFloat
Output:
{0: 0.5, 8: 0.5}
{True: 1.0}
Output: Simulating 10 qubits.. | | [ 0%]
{0: 0.5, 8: 0.5}
{False: 0.5, True: 0.5}
For the time being a first solution proposed by @positr0nium is the following:
Output:
{0: 0.5, 8: 0.5}
{False: 0.5, True: 0.5}
The text was updated successfully, but these errors were encountered: