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
2 IDENTICAL arrays (as many as the elements sampled)
each array containing the results of ALL 3 of the qubits reversed and then stacked for every shot. i.e.
1st shot (0, 0, 1,) 2nd shot(0, 0, 1) 3rd shot(0, 0, 1) 4th shot(0, 0, 1) 5th shot(0, 0, 1) gives
Array([0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1], dtype=int64)
These values though are the result of some final measurement happening on all qubits at the end of the execution as resetting the qubit in state "1" gives:
I am not really sure. It's likely that it is the same fix will resolve both but I thought I should post them as separate ones just in case this is not the case.
which looks exactly right. This is with the latest Qrack release and the Catalyst main branch, could you confirm whether this is fixed for you as well @yorgossot ? :)
The following code
gives:
It created:
1st shot (0, 0, 1,) 2nd shot(0, 0, 1) 3rd shot(0, 0, 1) 4th shot(0, 0, 1) 5th shot(0, 0, 1) gives
Array([0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1], dtype=int64)
These values though are the result of some final measurement happening on all qubits at the end of the execution as resetting the qubit in state "1" gives:
gives:
tagging @josh146
related issue #1626
The text was updated successfully, but these errors were encountered: