Running Your First Circuit

Run a Bell pair on the simulator in under a minute.

  1. Sign in and open Jobs.
  2. Click the Bell pair example. It fills in this circuit:
OPENQASM 2.0;
include "qelib1.inc";
qreg q[2];
creg c[2];
h q[0];
cx q[0], q[1];
measure q -> c;
  1. Leave the backend on the simulator, set shots (for example 1000) and press Run on simulator.
  2. A few seconds later you see a histogram. An ideal Bell pair only ever measures 00 or 11, about half each.

Next, try the tutorials.