Try out some circuit examples

Click on the button below the circuit images to open them in Circuit Composer, where you can run them on simulators or real quantum hardware, 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.

A circuit file for a Bell state.

Open in Circuit Composer

Explore the Bell state further in the Entanglement topic.

GHZ state example

This circuit creates a GHZ state and then measures all qubits in the standard basis. The measured results should be half 000 and half 111 .

A GHZ state.

Open in Circuit Composer

Read more about GHZ states in the GHZ states topic.

W state example

W states are another way to entangle three qubits, and do so differently than GHZ states.

a W state circuit.

Open in Circuit Composer

Read why W states are considered have more robust entanglement than GHZ states in the W states vs. GHZ states topic.

Grover’s algorithm example

Here is the full circuit for Grover’s algorithm for the case |w\rangle = |00\rangle :

A circuit file for Grover's algorithm.

Open in Circuit Composer

Learn more in the Grover’s algorithm topic.