Skip to main content
KetQat

Appearance

Workbench

Edit an OpenQASM 3 circuit, see it drawn, simulate it, and optimize it. Everything shown here is computed by the same engine the CLI and MCP tools use, so the page cannot display a result the engine would not produce.

Circuit

Up to 12 qubits. Unsupported constructs are rejected by name rather than silently ignored.

A seeded run is reproducible; without one the result says so.

These are synthetic topologies for exploring routing, not observations of any real device.

Sign in to queue a circuit. A job belongs to an account, so its results and cancellation are scoped to you.

Diagram

Quantum circuit2 qubits, 6 operations. A text listing follows the diagram.q[0]q[1]hhhXMM
  1. h on q[0]
  2. h on q[0]
  3. h on q[0]
  4. cx on q[0], q[1]
  5. measure q[0] into c[0]
  6. measure q[1] into c[1]
qubits
2
clbits
2
gate count
4
two qubit gate count
1
depth
5
uses mid circuit measurement
no
uses classical control
no
uses reset
no

Conversion loss

No conversion loss: the circuit round-tripped exactly.

Measurement results

SIMULATION
Reproducible (seed 42)
1,024 shots
Measurement outcome counts
OutcomeCountProbabilityRelative frequency
004990.4873
115250.5127

Resource estimate

NISQ resources

logical qubits
2
circuit depth
5
gate count
4
one qubit gate count
3
two qubit gate count
1
measurement count
2
reset count
0
swap count
0
barrier count
0
conditional count
0

Fault-tolerant counts

t count
0
clifford count
4
toffoli count
0
unsupported for ft count
0

Assumptions

  • Estimator: ketqat-static v0.1.0
  • Static count over the circuit as written. No synthesis, decomposition, or optimization is applied.
  • Duration not estimated: the hardware snapshot does not characterize every gate used.
  • Success probability not estimated: the hardware snapshot does not characterize every gate used.
  • No hardware snapshot supplied, so duration and fidelity are not estimated.

Canonical OpenQASM 3

OPENQASM 3;
include "stdgates.inc";

qubit[2] q;
bit[2] c;

h q[0];
h q[0];
h q[0];
cx q[0], q[1];
c[0] = measure q[0];
c[1] = measure q[1];