Program a quantum computer

Qubi can record the operations you do and send them to a real quantum computer.

When you are ready to run a circuit on real hardware, see Send to a quantum computer.

Qubi can record the operations you do and send them to a real quantum computer.

What is a quantum circuit?

A quantum circuit is how we program a quantum computer. It contains the instructions for every operation we want to perform on the computer's qubits, sequenced from left to right like a musical score.

H
H
X
X
H
H
X
X

Each of these boxes and lines has a representation on Qubi. Let's dig into them below.

Each wire is one qubit

A horizontal line represents a single physical qubit. As long as the line stays flat, nothing is happening to it, it's holding its state steady until you apply a gate or connect it to another qubit.

The three operations

Every quantum circuit is built from three building blocks. On Qubi, each one is a physical gesture, and each gesture maps to a symbol in the circuit.

TwistGate

Gates are twists on Qubi

Watch as the dot and colors rotate around the sphere. That's all a gate does!

HX

For example, the X gate is just a 180° rotation around the X axis.

BumpEntangling gate

Entanglements are bumps between two Qubis

Bump two Qubis together to entangle them. You can change which kind of entanglement a bump performs, but that's for advanced users.

ShakeMeasurement

Measurements are shakes on Qubi

Every quantum program ends with a measurement. In the lab that's a detector; with Qubi it's a quick shake. If your executor is a real quantum computer, this will trigger a job!

Each operation will be recorded on the circuit page of the Qubi app, so you can experiment and send to a real quantum computer.

All sections