Try out some circuit examples¶
Click the button below the circuit images to open them in IBM Quantum Composer, where you can run them on systems or simulators, and observe the results. You can also edit the circuits and see how the outcome differs.
Bell test example¶
The Bell test demonstrates that measurements of an entangled state cannot be explained by any local hidden variable theory, and that there must be correlations that are beyond classical.
GHZ state example¶
This circuit creates a GHZ state and then measures all qubits in the standard basis. The measured results should be half and half .
Read more about GHZ states in the GHZ states section of the Entanglement topic.
Grover’s algorithm example¶
Here is the full circuit for Grover’s algorithm for the case :
Learn more in the Grover’s algorithm topic.
W state example¶
W states are another way to entangle three qubits, and do so differently than GHZ states.
Read why W states are considered have more robust entanglement than GHZ states in the W states vs. GHZ states section of the Entanglement topic.