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
I'm skipping around the chapters of your book quite a bit. I have a question about the Deutsch-Jozsa example. If I were to measure the qubits, they all have an probablity amplitude of 6.25%. I would expect for this example to function properly with measuring all qubits, the state 0-7 should be 0% and 8-15 should be 12.5%. Is this correct? Or does this example just assume that only three qubits are measured?
The text was updated successfully, but these errors were encountered:
I found a QASM example online which provided a different configuration with a measurable result. I made an example for it. I also made a classical example. I know that Deutrsch-Jozsa is contrived and has no practical utility but it is a useful example for comparing a classical implementation with a quantum implementation using superposition.
I still need to work on allowing each example to use 2^n (any number of bits). Right now the classical version uses one bit and the quantum version uses 3 bits I think (qubits). It would be nice if each version shared the same number of bits (and customizable).
I'm skipping around the chapters of your book quite a bit. I have a question about the Deutsch-Jozsa example. If I were to measure the qubits, they all have an probablity amplitude of 6.25%. I would expect for this example to function properly with measuring all qubits, the state 0-7 should be 0% and 8-15 should be 12.5%. Is this correct? Or does this example just assume that only three qubits are measured?
The text was updated successfully, but these errors were encountered: