Make a fair coin
Use one H gate, measure, and expect roughly half 0 and half 1.
Open example in SimulatorPlayground
Open a starter quantum DSL circuit, predict the output, then run it in the quantum circuit simulator and compare.
Use one H gate, measure, and expect roughly half 0 and half 1.
Open example in SimulatorRun H then H. The result should return to 0 nearly every time.
Open example in SimulatorUse H and CNOT to create correlated two-qubit outcomes.
Open example in SimulatorRun the two-qubit Grover sample and watch the marked state stand out.
Open example in Simulator