QubiAI

AI models that build quantum circuits. Prompt a circuit, a change to your code, or a spreadsheet, and watch QubiAI build it in the Qubibyte Quantum Circuit Simulator. Pauli is our customized foundational model, now at 2.1. Fermi is the model that we're fine-tuning ourselves, now at 1.1.

An animation of prompts typed into QubiAI, such as "Make a Bell state" or "Grover search for 101", each followed by the Qubibyte circuit it builds.

Models

Model Description Main models Released
Pauli 2.1Deep, Medium, Nano The newest Pauli. Checks its own code with the real Qubi engine and repairs it, picks worked examples for each request, and can take 44 more simulator actions than 2.0. DeepGLM-5.3MediumDeepSeek V4 FlashNanoGLM-5.3 Flash Oct 9, 2026
Fermi 1.1Cloud, Local The newest Fermi model. Usable on cloud and locally. Llama-Fermi 1.1 Oct 14, 2026
Fermi 1.0Cloud, Local The first Fermi, trained by Qubibyte on simulator plans the Qubi engine verified. Still available, in the cloud and on your own computer. Llama-Fermi 1.0 Oct 9, 2026
Pauli 2.0Deep, Medium, Nano The previous Pauli. Three effort levels, from fast everyday edits to new algorithms built from a description. DeepKimi K2.7 CodeMediumGPT-OSS 120BNanoQwen2.5-Coder 32B Oct 6, 2026
Pauli 1.0 Our first model. Answers common circuits instantly with built-in recipes, and is still available, unchanged. Qwen2.5-Coder 32B Apr 6, 2026

QubiBench

Our benchmark for AI that works with quantum circuits. Each task is a request typed into the simulator, from preparing a state to building an algorithm, fixing code or filling a spreadsheet. The model's answer is carried out in a real copy of the simulator and graded on what it did there, not on what the answer says.

QubiBench v4

200 new tasks. Every prompt was checked against v1, v2 and v3 and against everything Fermi 1.0 and Fermi 1.1 were trained on, and none is close to any of them. v4 asks for parts of the simulator v3 never touched, such as sweeps, circuit export, the NMR lab, puzzles, custom gates, renaming, annotating, inverting and decomposing code, presenting slides and playing videos. Its starting points are bigger and more like real work, with longer programs, several files, sheets and slides, and editing tasks now also check that everything not asked about is left as it was. More of it is hard: 110 of the 200 tasks are difficulty 4 or 5. The grading and scoring are the same as v3's.

  • Pauli 2.1 Deep93.9%
  • Pauli 2.1 Medium89.0%
  • Pauli 2.1 Nano80.7%
  • Fermi 1.1 Cloud52.0%
  • Fermi 1.0 Cloud47.5%
  • Fermi 1.1 Local45.5%
  • Fermi 1.0 Local25.5%
MeasurePauli 2.1Fermi 1.1Fermi 1.0
DeepMediumNanoCloudLocalCloudLocal
93.9%89.0%80.7%52.0%45.5%47.5%25.5%
94.1%93.6%83.6%48.7%45.5%33.0%25.5%
Pass rateTasks scored 97% or more85.0%79.0%63.5%28.5%22.0%24.5%7.0%
Median time to complete a request 12.7 s16.2 s7.1 s1.0 s10.8 s1.0 s9.3 s
Neurons per requestAverage Workers AI neurons for a request 1,89884920440.3055.90
Average cost for a request $0.0313$0.0140$0.0034$0.00067$0$0.00092$0
Main modelThe model that answers firstGLM-5.3DeepSeek V4 FlashGLM-5.3 FlashLlama-Fermi 1.1Llama-Fermi 1.0
ParametersSize of the main model744B40B active284B13B active320B18B active3B3B
Every task and result
  • State preparation
  • Algorithms
  • Circuit synthesis
  • Editing and debugging
  • Qubi language
  • Simulator apps
  • Multi-step requests
  • Quantum knowledge
CategoriesRequestDiff.Pauli 2.1Fermi 1.1Fermi 1.0
DeepMediumNanoCloudLocalCloudLocal
Nine qubits. Wires 2, 3, 7 and 8 must read 1 every time; all other wires read 0.1✓100%✓100%✗22%✓100%✓100%✓100%✗26%
qubit 2 needs to be sqrt(0.2)|0> + i*sqrt(0.8)|1> (thats PLUS i), qubits 0 1 and 3 stay at |0>2✓100%✓100%✓100%✗91%✗54%✗77%✗52%
Entangle a 4-qubit register so that only 0011 and 1100 can ever be measured, 50% each, with opposite signs on their amplitudes (plus on 0011).2✓100%✓100%✗25%✓100%✗25%✗12%✗3%
five qubit register pls: the qubit at index 1 should sit in |-i>, index 2 gets flipped, index 4 goes to plus, indexes 0 and 3 untouched2✓100%✓100%✓100%✗66%✗24%✗24%✗47%
Six-qubit register: make (|000000> − i|100110>)/√2, so wires 1, 2 and 5 form a GHZ with relative phase −i and the other wires stay 0.2✗37%✗37%✓100%✗37%✗45%✗37%✗50%
Six qubits: a W state over wires 0, 2 and 5 (each single-excitation term has magnitude 1/√3) where the term with wire 5 excited carries a factor i. Wires 1, 3 and 4 stay |0>.3✗51%✗56%✗13%✗13%✓100%✓100%✗23%
Keep my lines as they are and add after them whatever makes the full 4-qubit state (|0000> + |0011> − |1100> − |1111>)/2.starting from // warm-up for the lab notes; // step 1: a pair on wires 0 and 1; H 0; CX [0,1]; ; // step 2: park wire 2 in |+>; H 2; ; // step 3: wire 3 (left for later)3✓100%✓100%✗71%✗62%✗57%✗62%✗47%
3 qubits, only ever one of them reads 1: 100 should come up 60% of the time, 010 25% and 001 15%3✓100%✓100%✓100%✓100%✓100%✓100%✗41%
Uniform superposition on qubits 0–2 where each |x2 x1 x0> also gets the factor i^(x0·x1 + 2·x2): i when x0 = x1 = 1, an extra −1 whenever x2 = 1.3✓100%✓100%✓100%✗46%✗46%✗41%✗41%
Make cos(π/12)|010> − sin(π/12)|101> on three qubits.3✓100%✓100%✗21%✗90%✗79%✗10%✗18%
dont touch any of my code, just add stuff after it so the state turns into (|011> + |110>)/sqrt2 exactly, no phase on either termstarting from // prep helper from last week; function Spread(a, b) {; H a; CX [a,b]; }; ; Spread(0, 2); LOOP 2 {; T 0; }3✓100%✓100%✗50%✗40%✗40%✗43%✗6%
Prepare (|+−+−> + |−+−+>)/√2 on four qubits, with the leftmost symbol being qubit 3.3✓100%✓100%✓100%✗18%✗18%✗9%✗12%
five qubits: sqrt(0.4)|10100> + e^(-2pi i/5) sqrt(0.6)|01011>, nothing else3✓99%✓100%✓100%✗95%✗95%✗83%✗1%
Four qubits: an equal-magnitude superposition of the four strings with exactly three 1s, where the term in which qubit k is the 0 has sign (−1)^k.4✓100%✓100%✗36%✗23%✗23%✓100%✗12%
Build a 4-qubit state that measures 1100 with probability 0.5, 1011 with 0.3, 0110 with 0.15 and 0001 with 0.05, and never anything else.4✓100%✓100%✓100%✓100%✓100%✓100%✓100%
Five-qubit W state where the term with qubit k excited carries the phase i^k (k = 0..4), all magnitudes equal.4✓100%✓100%✓100%✗52%✗25%✗52%✗52%
Two qubits: make (2|00> − |01> + 2i|11>)/3, with no |10> part at all.4✗92%✗50%✗56%✗64%✗64%✗25%✗38%
Keep every line of this file and add code at the end so the final state is (|00> + i|11>)/√2 on the pair (0,1) times Φ− = (|00> − |11>)/√2 on the pair (2,3).starting from #settings CodeAngleUnit "degrees"; #settings SortBy "probability"; // ---------------------------------------------; // lab 3: phase bookkeeping on four wires; // (angles in this file are in degrees); // ---------------------------------------------; ; function Tilt(a, b) {; H a; CX [a,b]; RZ a 45; }; ; // two pairs; Tilt(0, 1); Tilt(2, 3); ; // extra phase on the second pair; LOOP 3 {; S 3; }4✓100%✓100%✓100%✗51%✗51%✗45%✗0%
Three qubits: amplitude 1/√2 on |000> and 1/√6 on each of |001>, |010> and |100>, all real and positive.4✓100%✓100%✓100%✗18%✗55%✓100%✗64%
Prepare the 3-qubit state stabilized by −Z0Z1, +Z1Z2 and −X0X1X2 (it is unique up to a global phase).4✓100%✓100%✗31%✗37%✗25%✗25%✗0%
3 qubits, i want P(k) proportional to k for k = 0..7 (q0 is the least significant bit), so 000 never shows up and 111 shows up 7/28 of the time4✓99%✓100%✓99%✓99%✗0%✓99%✗46%
Prepare ½|010> + ½·e^{3iπ/4}|101> − (i/√2)|111> on 3 qubits, using at most 12 gate lines.5✗75%✗7%✗47%✗45%✗45%✗39%✗48%
Equal superposition, all amplitudes +1/√10, of the ten 5-qubit strings that contain exactly two 1s.5✓100%✓100%✓100%✗17%✗17%✗0%✗24%
Keep all my lines. After the end of the encode section, add a decode block that exactly undoes the encode section (and nothing before it), so the five wires end up in the state they had just before encoding.starting from // ==============================================; // Five-wire demo: prepare, then encode; // wires: 0-2 data, 3-4 helpers; // ==============================================; #settings Scheduling "compressed"; ; function Entangle(a, b) {; H a; CX [a,b]; }; ; // ---- prepare ----; RY 0 0.3; Entangle(1, 2); T 2; X 4; ; // ---- encode ----; CX [0,3]; LOOP 2 {; RX 3 0.25; CZ [3,1]; }; S 0; CX [4,2]; H 4; // ---- end of encode ----5✓100%✓100%✓100%✗41%✗13%✗39%✗46%
3 qubits, amplitudes in order 000 up to 111 (q0 = rightmost bit): 1, i, 0, -1, 2i, 0, 1, 0 ... all divided by 2*sqrt(2). phases matter5✗58%✗58%✗17%✗31%✗23%✗0%✗31%
On 4 qubits (qubit 0 least significant), an equal superposition of the numbers that are multiples of 3: |0>, |3>, |6>, |9>, |12> and |15>, each with amplitude +1/√6.5✓100%✓100%✓100%✗75%✗41%✓100%✗11%
Four qubits, every basis state with magnitude 1/4 and phase e^{iπw²/4}, where w is the number of 1s in the string.5✓100%✓100%✓100%✗40%✗40%✗42%✗34%
Amplitude amplification on 2 qubits towards |01> (wire 0 = 1, wire 1 = 0): one oracle-plus-diffusion round, spelled out gate by gate.1✓100%✓100%✓100%✓100%✗62%✗18%✗25%
bernstein vazirani with hidden string 100111, data qubits 0-5 (q0 = last character of the string), ancilla on 6, no measuring at the end2✓100%✓100%✓100%✓100%✓100%✓100%✓100%
Two input wires (0 and 1) and a helper wire 2, for the function that returns 1 exactly when both inputs agree. Run the Deutsch–Jozsa routine on it and stop just before the inputs get read out.2✓100%✓100%✗25%✓100%✗0%✓100%✗0%
Grover on 3 qubits for the single marked state |001>, with the iterations inside a LOOP and the optimal iteration count; no measurement.3✓100%✓100%✗40%✗33%✗37%✗66%✗66%
Load 13 into four qubits (qubit 0 least significant) and apply the standard QFT with the final swaps, so each |y> ends with amplitude e^{2πi·13y/16}/4.3✓100%✓100%✓100%✓100%✗16%✗21%✗13%
swap test pls: ancilla is q2, compare q0 in |+> with q1 in |+i>, the usual H / controlled swap / H on the ancilla and stop before measuring3✓100%✓100%✓100%✗37%✗37%✗37%✗37%
make the loop count in my grover code a sweep from 0 to 6 so i can watch P(010) go up and down, keep the oracle and diffuser lines as they arestarting from // grover, 3 qubits, marked state 010; H (0..2); LOOP 1 {; // oracle; X (0,2); CZ [0,1,2]; X (0,2); // diffuser; H (0..2); X (0..2); CZ [0,1,2]; X (0..2); H (0..2); }3✓100%✓100%✓100%✓100%✓100%✗33%✗33%
Is g = x1 ⊕ x3 ⊕ x0·x2 on four bits (wires 0–3) balanced or constant? Answer it the Deutsch–Jozsa way, but kick the sign (−1)^g straight onto the input wires instead of using a helper qubit, and stop right before readout.3✓100%✓100%✓100%✗0%✗0%✗0%✗0%
estimate the eigenphase of P(5pi/4) with three counter wires 0-2 (wire 0 = lowest bit) and the eigenvector |1> on wire 3; after the inverse fourier transform the counters should spell 5. leave it unmeasured3✓100%✓100%✓100%✗31%✗31%✗16%✗16%
teleport whatever my code puts on qubit 3 over to qubit 0, with qubit 1 as alice's half of the bell pair (bob has qubit 0). no MEASURE, do the fixes as controlled gates, and keep my lines at the topstarting from // message qubit; RX 3 0.35; T 34✓100%✓100%✓100%✗29%✗29%✗71%✗65%
Grover on 4 qubits with the marked items 0010, 0111, 1011 and 1101. Use the number of iterations that makes finding a marked item certain, and no measurement.4✓100%✓100%✗75%✗0%✓100%✓100%✓100%
grover 4 qubits, single marked state 1110, the best iteration count, write the gates out instead of using the library function, no measure4✓100%✓100%✓100%✗25%✗25%✓100%✗75%
Read out the eigenphase of P(7π/8) with four control wires 0–3 (wire 0 lowest bit). Its eigenvector |1> sits on wire 5 and wire 4 stays idle. After the inverse Fourier transform the controls should spell the integer 7. Don't measure.4✓100%✓100%✓100%✓100%✗12%✗22%✗28%
My editor prepares a data qubit on wire 1. Encode it in the 3-qubit bit-flip code on wires 1, 2 and 3, apply an X error to wire 1, compute the syndrome into ancillas 4 and 5 without MEASURE, correct with controlled gates, and decode so the original state is back on wire 1. Keep my lines first.starting from RY 1 0.55; S 14✓100%✓100%✗25%✗37%✗75%✓100%✗43%
Hidden XOR-mask problem (Simon) with mask 101, wire 0 = rightmost bit: wires 0–2 hold the query, wires 3–5 the answer. Make up any two-to-one f obeying f(x) = f(x ⊕ 101), run the Hadamard–oracle–Hadamard circuit and stop before readout, so wires 0–2 only show y with y·101 = 0 (mod 2).4✓100%✓100%✗50%✗25%✗25%✗50%✗25%
qft arithmetic: 3-qubit register (q0 lsb) holding 1, subtract 3 mod 8 in the fourier basis with single-qubit phase gates between QFT(0..2) and IQFT(0..2), so it ends at 64✓100%✓100%✓100%✗13%✗15%✗15%✗6%
Φ+ links wire 0 with wire 2, and another Φ+ links wire 1 with wire 3. Entangle the outer wires 0 and 3 instead: measure 2 and 1 in the Bell basis coherently (CX [2,1], then H 2, no MEASURE), fix wire 3 with gates controlled by 1 and 2, and finish so 0 and 3 hold (|01> − |10>)/√2 whatever the Bell outcome.5✓100%✗50%✓100%✗0%✗0%✗25%✗0%
Search qubits 0–3 for the inputs where x3 = 1 and x0 ⊕ x1 ⊕ x2 = 1. Compute that predicate onto a helper on qubit 4 prepared in |−> so its phase kicks back, return the helper to |0> afterwards, and choose the round count that hits a solution with probability 1. Leave it unmeasured.5✓100%✗6%✗0%✗0%✗0%✗0%✗0%
shor-style period finding for 11 mod 15. three counting wires 0-2 (wire 0 lowest), four work wires 3-6 that begin holding the number 1 (wire 3 lowest bit). superpose the counters, controlled-multiply the work register by 11^(2^j) mod 15, inverse fourier on the counters, dont measure5✓100%✗25%✓100%✗0%✗0%✗0%✗0%
Phase estimation with 3 counting qubits (0–2, qubit 0 least significant) for the two-qubit U = T ⊗ S, with T acting on qubit 3 and S on qubit 4, and the target prepared in the eigenstate |11>. Build each controlled-U^(2^j) from controlled phases, then the inverse QFT; no measurement.5✓100%✓100%✗34%✗16%✗16%✗33%✗33%
Shield the qubit my code prepares on wire 0 with a three-wire repetition code (wires 0–2). Then damage wire 0 itself with RX(0.6π), a partial flip. Detect the damage into helper wires 3 and 4 with no MEASURE, repair it with controlled gates, un-encode, and have wire 0 back exactly as prepared. My lines stay at the top.starting from // data qubit; RY 0 0.62; P(0.15) 05✓100%✓100%✓100%✗40%✗38%✗73%✗40%
Finish this program: call Oracle and Diffuse on qubits 0–3 the number of times that gives the best chance of measuring one of the oracle's solutions. Don't change the functions or anything above the TODO.starting from // =========================================; // Grover search, 4 qubits; // Oracle marks the solutions, Diffuse is; // the inversion about the mean.; // =========================================; ; function Oracle(a, b, c, d) {; // first solution; X (a, c); CZ [a,b,c,d]; X (a, c); // second solution; X b; CZ [a,b,c,d]; X b; }; ; function Diffuse(a, b, c, d) {; H (a, b, c, d); X (a, b, c, d); CZ [a,b,c,d]; X (a, b, c, d); H (a, b, c, d); }; ; // start in the uniform superposition; H (0..3); ; // TODO: the iterations5✓100%✓100%✓100%✓100%✗9%✗34%✗34%
Treat wires 4, 2 and 0 as one 3-qubit register with wire 4 its least significant bit, then 2, then 0 as the most significant. Load the number 3 into it and apply that register's QFT (standard, with the final swap), so |y> on the register gets e^{2πi·3y/8}/√8. Wires 1 and 3 stay |0>.5✓100%✓100%✗27%✗23%✗33%✓100%✗20%
On qubits 0 and 1, I need the diagonal gate diag(1, i, i, −1), entries in the order |00>, |01>, |10>, |11>. Two gate lines at most.1✓100%✓100%✓100%✗54%✗54%✗25%✗25%
My device only offers the T gate (no TDG, no S, no Z). Make an S-dagger on qubit 1 from T gates alone, exact up to a global phase, in six lines or fewer.2✓100%✓100%✗40%✗62%✗33%✗20%✗20%
flip the sign of every basis state of q0-q2 whose value is 6 or 7 (q0 = least significant bit), all other states untouched. one gate line, thats the whole budget2✓100%✓100%✓100%✗5%✗5%✗25%✗25%
Using RY and CZ gates only, implement a CNOT with control qubit 2 and target qubit 0. Relative phases have to match a real CX.2✓100%✓100%✗68%✗63%✗61%✗0%✗75%
Flip qubit 3 exactly when qubit 0 is 1, qubit 1 is 0 and qubit 2 is 1; every other input passes through untouched. Allowed: X, and CX with any number of controls.2✓100%✓100%✓100%✓100%✓100%✗0%✗25%
Controlled-T with control qubit 2 and target qubit 1 (|11> on that pair picks up e^{iπ/4}), built from RZ and CX gates only. Exact up to a global phase.3✓100%✓100%✓100%✗25%✗25%✗8%✗25%
Qubits 0..2 hold a 3-bit integer x (qubit 0 = 1s place). Replace it in place with 3·x mod 8. X, CX and multi-control CX only, no helper qubits.3✓100%✓100%✗75%✗25%✗43%✗0%✗25%
3-bit number in q0-q2 (q0 lowest). set q3 (starts at 0) to 1 iff the number is less than 5, and leave q0-q2 as they were. gates: X, CX, toffoli or bigger multi-controlled CX3✓100%✓100%✓100%✗25%✗25%✗15%✗25%
so q0,q1 are a little 2-bit counter (q0 is the low bit). when q2 is 1 bump the counter by one, mod 4, and when q2 is 0 leave it be. q2 itself must not change. X, CX and multi-control CX only3✓100%✓100%✓100%✓100%✓100%✗25%✗25%
Replace the circuit in my editor with its exact inverse U†, so that running my old circuit followed by yours would give the identity. Phases count.starting from H 0; T 1; CX [0,1]; RY 2 0.3; CZ [1,2]; S 2; RX 0 0.153✓100%✓100%✓100%✓100%✓100%✓100%✗25%
2 qubits, read as the bitstring q1q0. i want each run of the circuit to step it round the cycle 00 -> 01 -> 11 -> 10 -> back to 00. X and CX only, 4 gate lines max3✓100%✓100%✗55%✓100%✗55%✗0%✗55%
Controlled-RY(3π/4): control qubit 1, target qubit 3. Your gate set is RY and CZ, nothing else, and keep it to 4 gate lines.3✓100%✓100%✓100%✓100%✓100%✗40%✗40%
Define a custom single-qubit gate called HY with the matrix (1/√2)·[[1, −i], [i, −1]] (a Hadamard between the Y and Z axes). Then apply HY to qubits 0 and 2 and finish with CX [2,1].3✓100%✓100%✓100%✗40%✗20%✓100%✗20%
On qubits 0, 1, 2: multiply every basis state that has an odd number of 1s by e^{iπ/4}, and leave the even-weight states alone. Use only CX, T and TDG.4✓100%✗0%✗25%✗17%✗25%✗16%✗16%
cuccaro style MAJ block, in place, no ancillas: a on q0, b on q1, c on q2. afterwards q0 should hold a xor c, q1 b xor c, and q2 the majority of a,b,c. only X / CX / toffoli4✓100%✓100%✓100%✗25%✗25%✓100%✗25%
I only need the truth table of a Toffoli (controls 0 and 1, target 2): relative phases on the outputs are fine. Use only RY and single-control CX, at most 7 gate lines.4✗57%✗57%✗57%✗83%✗46%✗42%✗0%
Controlled square root of NOT, qubit 0 steering qubit 2: whenever qubit 0 is 1, qubit 2 must see exactly [[1+i, 1−i],[1−i, 1+i]]/2. Permitted gate names are H, T and TDG, plus CX with one control. Relative phases must come out right.4✗91%✗56%✗40%✗40%✗40%✗33%✗20%
Fermionic swap on qubits 1 and 3: exchange them, and give |11> on that pair a −1 sign. CX and CZ only, 4 gate lines or fewer.4✓100%✓100%✓100%✗36%✗20%✗0%✗40%
Linear chip: qubits 0-1-2-3 in a row, CX allowed only between neighbours (0–1, 1–2, 2–3, either direction). XOR q0 ⊕ q2 into qubit 3, and leave qubits 0, 1 and 2 exactly as they started.5✓100%✗50%✗50%✗45%✗16%✗45%✗40%
ugh my hardware can't run gates on three wires. rewrite whats in the editor so every gate touches 2 qubits max but the whole circuit still does exactly the same thing, relative phases includedstarting from H 3; CX [2,0,1]; RY 0 0.2; CZ [1,2,3]; H 34✗60%✗89%✓100%✗60%✗60%✗60%✗0%
Add a custom two-qubit gate named MIX4 given by its matrix, rows: [1, 0, 0, 0], [0, 1/√2, −i/√2, 0], [0, −i/√2, 1/√2, 0], [0, 0, 0, 1]. Then put H on qubit 0, and apply MIX4 to qubits [0,1] and after that to [1,2].4✓100%✓100%✓100%✗61%✗20%✓100%✗20%
Two 2-bit numbers: a on qubits 0,1 and b on qubits 2,3 (lower index = lower bit). Write the 4-bit product a·b into qubits 4..7 (qubit 4 = lowest bit; all four start at |0>) and leave a and b as they are. X and CX with any number of controls are allowed.5✓100%✗0%✗91%✗25%✗25%✗41%✗25%
can you build RYY(π/2) = exp(−i·(π/4)·Y⊗Y) on qubits 0 and 2 using only RX, CX and RZ? exact up to global phase pls5✗25%✓100%✗78%✗8%✗25%✗6%✗0%
Prepare the W state (|001> + |010> + |100>)/√3 on qubits 0–2, with every amplitude exactly +1/√3. Only RY and CZ gates are allowed.5✓100%✗75%✗39%✗18%✗48%✗75%✗75%
On qubits 2 and 3, reproduce IQFT(2..3) gate for gate in effect (its bit ordering included) using just H, T, TDG and single-control CX: the finished program may not call IQFT or QFT and may not contain CP or SWAP.5✓100%✓100%✗46%✗40%✗40%✗60%✗42%
If I raise MaxQubits to 7 and use every wire, how many complex amplitudes does the full state vector hold?1✓100%✓100%✓100%✓100%✓100%✓100%✓100%
In Qubi I run `RY 0 0.7` on a fresh qubit (bare angle, so the editor's default unit). What's the chance of reading 1? Four decimals.2✗0%✓100%✗0%✗0%✗0%✗0%✗0%
whats the fewest CNOTs that always suffice for an arbitrary 2-qubit unitary, if i can put any single-qubit gates around them?2✓100%✓100%✓100%✓100%✓100%✗0%✗0%
An unstructured list of 128 entries has exactly two that pass the check. With Grover, how many iterations give the best chance of hitting one of them, and how big is that chance?3✓100%✓100%✓100%✗33%✗33%✗33%✗30%
doing phase estimation w/ four counting qubits on U = P(5π/8), target prepped in |1>. what integer does the counting register give me and how sure is that outcome3✓100%✓100%✓100%✗33%✗33%✗33%✗0%
How many T-type gates (T and T† together) does my program actually apply, with the loop repetitions counted out? Don't change anything.starting from // T-layer experiment; H (0,1); LOOP 3 {; T 0; CX [0,1]; TDG 1; }; T (0,1); S 0; TDG 03✓100%✓100%✓100%✗25%✗25%✗25%✗25%
Where on the sphere does (|0> + (1+i)|1>)/√3 sit? Give its polar angle θ measured from the north pole and its azimuth φ, both in degrees.4✗50%✓100%✓100%✗0%✗0%✗0%✗0%
Leaving my code alone, what is the entanglement entropy (von Neumann, log base 2) of qubit 2 versus the rest, for the state it prepares?starting from RY 2 0.3; RY 0 0.4; CX [2,1]; CX [0,2]; T 14✓100%✓100%✗25%✗25%✗25%✗25%✗25%
Without editing anything, tell me the probability that my circuit's three qubits read 110 (qubit 2 on the left, qubit 0 on the right) at the end.starting from H (0,1); CX [1,2]; RY 0 0.35; CZ [0,2]; H 0; T 1; H 14✓100%✓100%✓100%✗25%✗25%✗25%✗25%
SWAP [0,1] and SWAP [2,3] applied together form one 16×16 unitary. How many of its 16 eigenvalues equal −1?4✓100%✓100%✓100%✗0%✗0%✗0%✗0%
Take cos(π/5)|00> + sin(π/5)|11>. Trace out qubit 1: what is the fidelity ⟨0|ρ|0⟩ between qubit 0's reduced state ρ and |0>?4✓100%✓100%✓100%✗0%✗0%✗0%✗0%
grover on 5 qubits, one marked string. how many iterations is optimal, and whats P(marked) if i accidentally do one more round than that?5✓100%✓100%✗66%✗33%✗33%✗33%✗33%
Three-bit phase estimation on an eigenvector whose eigenvalue is e^{2πi·0.2}. What is the probability that the counting register comes out as the integer 2 (binary 010)?5✓100%✓100%✓100%✗0%✗0%✗0%✗0%
quick q about whats in my editor: what's the purity Tr(ρ²) of qubit 1's reduced state? dont edit the codestarting from H 0; RY 1 0.6; CX [0,1]; RY 0 0.2; CZ [1,2]; H 25✓100%✗62%✗25%✗25%✗25%✗25%✗25%
For the state my editor code makes, what is the expectation value of X on qubit 1 times Z on qubit 0 (the operator X⊗Z, qubit 1 on the left)? Keep the code unchanged.starting from RY 0 0.3; H 1; CX [0,1]; RY 1 0.25; S 05✓100%✓100%✓100%✗25%✗25%✗25%✗25%
Set the simulator up with 300 qubits and run the full state-vector simulation of Shor factoring a 2048-bit RSA modulus, then show me the factors.3✓100%✓100%✗66%✗66%✗66%✗66%✗10%
make q1 come out as 1 with probability −0.2 and as 0 with probability 1.2, they still add to 1 so it should be fine right3✓100%✗66%✓100%✗33%✗33%✗10%✗10%
Rotate qubit 2 by 45 degrees about the Bloch sphere's fourth axis, the one perpendicular to x, y and z.starting from H 2; T 23✓100%✓100%✓100%✗10%✗10%✗10%✗10%
Qubits 0 and 1 each hold a copy of the same unknown state |ψ>. Add gates that reset qubit 1 to |0> and leave qubit 0 as |ψ>, unitarily (no measurement, no reset instruction, no extra qubits), for every possible ψ.4✓100%✓100%✓100%✓100%✓100%✗10%✗10%
i get exactly ONE copy of an unknown qubit. write me a circuit + single measurement that reads out its exact bloch angles theta and phi from that one shot4✗76%✗76%✓100%✓100%✓100%✓100%✗10%
Entangle qubits 0 and 1 of my circuit using single-qubit gates only: no CX, CZ or any other two-qubit gate, no measurement, no extra qubits.starting from H 0; RY 1 0.34✓100%✓100%✓100%✗10%✗10%✗10%✗33%
need ONE fixed circuit that sends every possible qubit state |ψ> to the state orthogonal to it (antipodal point on the bloch sphere)... for all ψ at once, not just |0> and |1>5✓100%✓100%✓100%✗10%✓100%✗10%✗10%
There's no entanglement shared beforehand. Encode three classical bits into one qubit, send just that qubit, and let the receiver read all three bits back reliably.5✓100%✓100%✓100%✓100%✓100%✗10%✗10%
build me a search over a million unsorted items that finds the one marked item with certainty using a single oracle query. grover but faster, one call to the oracle total5✓100%✓100%✓100%✓100%✗10%✓100%✗10%
Find a single-qubit unitary U with U|0> = |0> and U|+> = |1>, exactly.5✓100%✗66%✗66%✗33%✗33%✗10%✗10%
The middle coupling of this cluster sketch, the CZ between qubits 1 and 2, has been commented out. Switch that one gate line back on and leave every comment that is a real note as it is.starting from // cluster state on a line of four qubits; // step 1: everyone into |+>; H (0..3); // step 2: nearest-neighbour couplings; CZ [0,1]; // CZ [1,2]; CZ [2,3]; // step 3: local phase tweaks; S 0; TDG 3; // step 4: basis change on the ends; H 0; H 31✓100%✓100%✓100%✓100%✓100%✗46%✗0%
comment out every RX that acts on qubit 3 (dont delete them, i want them back later), theres 3 of them scattered around. all the other gates incl the other RXs stay exactly as they arestarting from // noisy GHZ benchmark on 5 qubits; H 0; RX 0 0.03 // laser offset; CX [0,1]; RX 3 0.05 // drift model; CX [1,2]; CX [2,3]; RX 3 0.05 // drift model; CX [3,4]; // readout basis; RZ 4 0.25; RX 3 0.1; RX 2 0.1; H 23✓100%✓100%✓100%✗68%✗68%✗68%✓100%
Rename the function blend to diffuse: its definition and all three calls. The variable blender is a different thing and keeps its name. The comments may stay as they are.starting from // two-layer mixer on 4 qubits; blender = 0.15; function blend(int a, int b) {; RY a 0.25; CZ [a,b]; RY b -0.25; }; // first pass: blend neighbours; blend(0, 1); blend(2, 3); RZ 1 blender; // second pass; blend(1, 2); RX 3 blender2✓100%✓100%✓100%✓100%✓100%✓100%✓100%
the indentation in this file is a total mess. tidy it up: 4 spaces per level of { }, no trailing spaces, and no piles of empty lines (one blank line max). dont change, add or reorder any of the actual codestarting from // trotterised XX chain; function xx(int a, int b) {; H (a,b); CX [a,b]; RZ b 0.1; CX [a,b] ; H (a,b); }; LOOP 3 {; xx(0, 1); xx(1, 2); LOOP 2 {; RZ 0 0.05 ; }; }; ; ; ; ; // readout; H 23✓100%✓100%✓100%✓100%✓100%✓100%✓100%
Strip every T gate acting on qubit 2 out of this program. Where one line applies T to several qubits at once, only qubit 2 drops out and the T stays on the others. TDG and S are not T gates, so keep them.starting from // phase gadget test, 4 qubits; H (0..3); T 2; CX [2,3]; T (1,2); CX [0,2]; TDG 2; T 0; CX [1,2]; T (2,3); S 2; H (0..3)4✓100%✓100%✓100%✗67%✗67%✗57%✗57%
Inside the encode function only, turn each RY into an RX with the same angle. The RY gates of the trainable layer below the function are a different part and stay RY.starting from // variational classifier, 3 qubits; function encode(int q) {; RY q 0.3; RZ q 0.1; RY q 0.2; }; encode(0); encode(1); encode(2); // trainable layer; RY 0 0.45; CX [0,1]; RY 1 0.35; CX [1,2]; RY 2 0.253✓100%✓100%✓100%✗65%✗28%✓100%✗0%
Switch this file's angle unit from degrees to piradians and rewrite every angle so the circuit does exactly the same thing. Keep the angles as bare numbers with no deg or rad suffixes.starting from #settings CodeAngleUnit "degrees"; // calibration sequence, angles in degrees; RY 0 90; RX 1 45; CX [0,1]; RZ 1 -18; CP(72) [0,2]; LOOP 2 {; RY 2 27; }; P(135) 34✓100%✓100%✓100%✗36%✗72%✓100%✗0%
Replace this program with its exact inverse, so that running it undoes what the current code prepares. Keep the comment on top, and keep the repeated part as a LOOP 3 rather than writing it out.starting from // state prep for the overlap test; H 0; S 0; CX [0,1]; LOOP 3 {; RY 1 0.1; CZ [1,2]; T 2; }; RZ 2 0.3; CP(0.25) [0,2]5✓100%✓100%✓100%✗37%✗37%✗37%✗0%
The seven gate lines under the "// trotter step" comment are one Trotter step. Repeat that step 6 times by wrapping exactly those lines in a LOOP; the prep, the readout and the comments stay outside it.starting from // Ising chain, 3 sites, first-order Trotter; // prep; H (0..2); // trotter step; CX [0,1]; RZ 1 0.3; CX [0,1]; CX [1,2]; RZ 2 0.3; CX [1,2]; RX (0..2) 0.15; // readout basis; H (0..2)3✓100%✓100%✓100%✗86%✗86%✗86%✗7%
our chip has no native SWAP gate :( break each SWAP down in place into 3 CXs, at the same spot in the program, and leave every other line exactly how it isstarting from // routing on a line: carry qubit 0 along to the far end; RY 0 0.3; RX 3 0.2; SWAP [0,1]; CZ [1,2]; SWAP [1,2]; T 2; SWAP [2,3]; CX [3,2]; H 34✓100%✓100%✓100%✗86%✗26%✗30%✗26%
Replace the one Toffoli in this program (the CX with two controls) by an exact decomposition into H, T, TDG and single-control CX gates, written right where the Toffoli is. Everything else stays the same.starting from // controlled-controlled phase test; H (0..2); T 1; CX [0,1,2]; S 0; CZ [1,2]; RY 3 0.25; CX [2,3]5✓100%✓100%✓100%✗27%✗40%✗81%✗81%
nothing in here builds and the comments say what its supposed to do. fix all of it, there are a bunch of bugs (gate names, brackets, the loop, angle units, a wire) so it does exactly what the comments say. keep the comments and the measurement at the endstarting from // entangler with an ancilla, 4 qubits (the ancilla is qubit 3); // 1. tilt the message qubit 0 by a quarter turn (90 degrees); RY 0 90; // 2. Bell pair on 1 and 2; H 1; CNOT [1,2]; // 3. couple the message into the pair, three rounds; LOOP 3 {; CZ (0,1); TDAG 2; END; // 4. copy the parity of qubit 2 onto the ancilla; CX [2,4]; MEASURE [0,1,2,3]5✓100%✗90%✓100%✗51%✗51%✗55%✗51%
Two mistakes stop this program from building. Repair just those two so it does what its first comment says, and don't touch anything else.starting from // put wires 0 and 1 into |+>, then a GHZ ladder on wires 2..4; H [0,1]; function ladder(int a, int b, int c) {; H a; CX [a,b]; CX [b,c]; ladder(2, 3, 4); CZ [1,2]3✓100%✓100%✓100%✗88%✗88%✓100%✗42%
Each H, S, H triple in this program acts as one gate. Define a custom matrix gate named HSH equal to that product (H, then S, then H) and replace each of the three triples with a single HSH line on the same qubit. The CX and CZ stay where they are.starting from // square root of NOT built by hand, three times; H 0; S 0; H 0; CX [0,1]; H 1; S 1; H 1; CZ [1,2]; H 2; S 2; H 25✓100%✓100%✓100%✗6%✗6%✗66%✗0%
need a tilt on qubit 1 just after the gate my caret sits on: new line straight under it, RY 0.15starting from // amplitude encoding of two features; // feature 1; RY 0 0.42; // feature 2; RY 1 0.18; // entangle the features; CX [0,1]; // second-order term; RZ 1 0.3; CX [0,1]; // read out in the X basis; H (0,1)2✓100%✓100%✗57%✗57%✗57%✗57%✗31%
Comment out the lines I have highlighted (keep them in the file, just switched off) and leave every other line untouched.starting from // error-detection demo; RY 0 0.3; // encode; CX [0,1]; CX [0,2]; // inject an error; X 1; RZ 2 0.2; Y 0; // decode; CX [0,2]; CX [0,1]; CX [2,1,0]3✓100%✓100%✓100%✓100%✓100%✓100%✓100%
Revert the three most recent edits I made to this file. The edit I made just before those three stays in place.starting from // phase estimation warm-up; H (0,1); X 2; phi = 0.25; CP(0.5) [0,2]; CP(0.25) [1,2]; T 1; RZ 2 phi; H (0,1)3✓100%✓100%✗16%✓100%✓100%✗19%✗0%
oops i hit undo three times in a row but i only meant to cancel the last of those three edits. bring the other two backstarting from // readout calibration; H 0; CX [0,1]; T 2; RZ 1 0.3; CZ [1,2]4✓100%✓100%✓100%✓100%✓100%✗17%✗0%
clear out this old experiment, delete everything in the editor except the 3 LABEL lines that name the wires. and keep the MaxQubits 6 settingstarting from #settings MaxQubits 6; LABEL 0 "alice"; LABEL 1 "bob"; LABEL 2 "eve"; // old experiment, no longer needed; H 0; CX [0,1]; RY 2 0.3; CZ [1,2]; MEASURE (0..2)2✗73%✓100%✗73%✗60%✗60%✗60%✗60%
Give wires 3 and 4 the names "s01" and "s12" with LABEL lines at the top of the program, and wrap the four CX lines of the syndrome step in an annotation covering wires 0 to 4 with the text "syndrome" and the id syn. Nothing else changes.starting from // 3-qubit bit-flip code: data 0..2, syndrome ancillas 3 and 4; RY 0 0.3; CX [0,1]; CX [0,2]; // noise; X 2; // syndrome; CX [0,3]; CX [1,3]; CX [1,4]; CX [2,4]; // correct; X 3; CX [3,4,2]; X 34✓100%✓100%✓100%✓100%✗70%✗90%✗30%
wire 4 was only a scratch qubit for debugging. take it out of the circuit completely: delete every gate that touches wire 4 (as control or target), and where a parallel line lists wire 4 with others, just drop 4 from that list. measure only 0..3 at the endstarting from // 5 qubits: data on 0..3, wire 4 was a scratch qubit for debugging; H (0..3); CX [0,4]; CZ [0,1]; H (2,4); CX [1,2]; CX [4,3]; RY 3 0.2; X 4; CX [0,4,3]; CZ [2,3]; MEASURE (0..4)4✓100%✓100%✗87%✗74%✗10%✗87%✗16%
Every RZ by exactly 0.25 should become an RX by 0.125, wherever it is and however it is written. RZ gates with any other angle stay as they are.starting from // mixed rotations; H (0..2); RZ 0 0.25; RZ 1 0.5; H 2; RZ 2 0.25; CX [0,1]; RZ(0.25) 1; RX 0 0.1; RZ 0 0.125; CX [1,2]; RZ 2 0.254✓100%✓100%✓100%✗24%✗38%✗24%✗41%
Pull the two hand-typed angles into variables: gamma = 0.35 and beta = 0.2, defined just under the comment, then use gamma in every RZ and beta in the RX line so each can be retuned in one place. The circuit must not change.starting from // QAOA layer on a 4-ring, angles typed in by hand (0.35 is gamma, 0.2 is beta); H (0..3); CX [0,1]; RZ 1 0.35; CX [0,1]; CX [1,2]; RZ 2 0.35; CX [1,2]; CX [2,3]; RZ 3 0.35; CX [2,3]; CX [3,0]; RZ 0 0.35; CX [3,0]; RX (0..3) 0.24✓100%✓100%✓100%✓100%✗38%✓100%✗60%
i wrote this whole thing starting at wire 1 by mistake. everything has to move down one wire so it starts at wire 0 (1 goes to 0, 2 to 1 and so on), the label too. keep the loop and the variables, dont just write the gates outstarting from // GHZ ladder plus a phase pattern (oops: I started on wire 1); n = 4; LABEL 1 "first"; H 1; k = 1; LOOP k < n {; CX [k, k+1]; k++; }; RZ (1..4) 0.125; CZ [1,4]; SWAP [2,3]; T 45✓100%✓100%✗62%✗0%✗10%✗62%✗40%
Undo my commenting-out of those three lines, but keep the X on qubit 3 that I added after doing that.starting from // interference check; H 0; CX [0,1]; RY 2 0.3; CZ [1,2]; T 2; H 15✓100%✓100%✓100%✗6%✗6%✗6%✗0%
make a sweep variable called spot that runs over the wires 0 to 3, then put one X gate on wire spot1✓100%✓100%✓100%✗33%✗33%✗33%✓100%
For this file, show results to 5 decimal places and stop it re-running after every edit (AutoRun off). The circuit itself stays exactly as it is.starting from // spin-echo test, 4 qubits; H 0; CX [0,1]; RY 2 0.2; CX [2,3]; RZ 1 0.25; CZ [1,2]; X 3; H 02✓100%✓100%✓100%✓100%✓100%✗33%✗33%
With a single stepped wire range that counts downward (a negative step), apply H to wires 9, 6, 3 and 0, all in one line.2✓100%✓100%✓100%✗34%✗34%✗71%✗71%
add a single measurement at the very end that reads out only qubits 1 and 3. one MEASURE line, nothing else gets measuredstarting from // prepare a pattern across four qubits; X 1; H 3; CX [3,2]; RY 0 0.3; CZ [1,2]; T 3; H 32✗50%✗50%✓100%✓100%✓100%✓100%✓100%
Declare a sweep variable tilt that steps from 15 to 75 degrees in 15-degree steps, use it as the RY angle on qubit 0, and follow that with a CX from qubit 0 to qubit 1.3✗50%✗50%✗24%✗50%✗49%✗50%✗24%
Put the wires 5, 2, 7 and 1, in that order, into a list-int variable named chain. Apply H to the first element of chain, then use a while-style LOOP over the list to CX each element onto the next one (5 onto 2, 2 onto 7, 7 onto 1), indexing chain instead of writing wire numbers.3✗77%✗77%✗77%✗77%✗77%✗77%✗22%
Use a while-style LOOP with a counter q that takes the values 0, 1 and 2. In each pass, an inner REPEAT 2 block applies RX by 0.25 to wire q, and after that block comes a CZ from wire q to wire q+1.3✓100%✓100%✓100%✗0%✗15%✗0%✗25%
Set a variable base = 3 and write these four gates with every wire given as an expression of base (no literal wire numbers in the gate lines): H on base, a CX from base to base+2, RZ by 0.5 on wire base*2-1, and a SWAP of base-1 with base+1.3✓100%✓100%✓100%✓100%✓100%✓100%✗59%
Declare three typed locals: a bitstring called flips set to 0b10011, a float called lean equal to 0.3, and an int called anchor equal to 2. Then flip the qubits set in flips with one X over tolist(flips), and apply RY by lean to wire anchor.3✓100%✓100%✓100%✗5%✗5%✓100%✗0%
make this run the phase test instead of the bit flip one. do it only by changing mode, all three branches stay in the codestarting from // pick which test runs: 1 = bit flip, 2 = phase, 3 = both; mode = 1; H (0,1); IF mode == 1 {; X 2; CX [2,0]; } ELIF mode == 2 {; CZ [0,1]; S 1; } ELSE {; X 2; CZ [0,1]; }; H (0,1)3✓100%✓100%✓100%✗54%✗64%✗22%✗0%
Name wires 0 to 3 "reg 0", "reg 1", "reg 2" and "reg 3" with ONE LABEL line that uses the {n} placeholder, and label wire 4 "anc". The gates stay as they are.starting from // five-wire register: data 0..3, ancilla 4; H (0..3); CX [0,4]; CX [3,4]; RZ 4 0.25; CX [3,4]; CX [0,4]; H (0..3)3✓100%✓100%✓100%✓100%✗28%✓100%✗57%
Write a function knock(float a = 0.25, int q = 0, int r = 1) that applies RY by a to wire q and then a CX from q to r. Call it three times, in this order: with no arguments at all; with only q set to 3 (skip the angle slot with an empty comma, so a and r keep their defaults); and as knock(0.5, 2, 3).4✓100%✓100%✓100%✗66%✗44%✓100%✗0%
the project file lib/prep.qubi already has a ghzline function. use it from this file: include lib/prep.qubi and call ghzline on wires 3, 4 and 5 after the existing gates. dont copy the function code into this filestarting from // main: prepare two data qubits; X 0; H 14✓100%✓100%✓100%✓100%✗0%✗88%✓100%
Define a custom controlled gate named CSX with one control and one target, whose target matrix is the square root of X, ((1+i)/2, (1-i)/2; (1-i)/2, (1+i)/2). Then put H on qubit 0 and apply CSX with control 0 and target 1.4✗40%✗40%✗40%✗40%✗0%✗40%✗0%
Add a scan below the X: a sweep variable j over wires 0 to 2, a derived wire k = j + 3, and a second sweep g over the gates X, Y and Z. Then put H on j, a CX from j to k, and the swept gate g on wire k.starting from // pair scan across the register; X 64✓100%✓100%✓100%✓100%✗43%✓100%✗43%
Shrink this file's register to 5 qubits with its MaxQubits setting, so that max now means wire 4. Leave the code itself, which uses max, exactly as written.starting from #settings MaxQubits 8; // ring of CZs closing on the last wire; H (0..max); CZ [max, 0]; X max-1; RY max 0.254✓100%✓100%✓100%✗0%✗3%✓100%✗0%
Store the marked state 0b0110 in a bitstring variable named sweepstate, so the Parametric Sweep targets it, and run the library Grover search on that same variable: pass sweepstate to Grover instead of typing the bits again.4✗75%✗75%✗75%✗75%✗25%✗75%✗0%
Make the mark6 function show up on the circuit as a single opaque tile labelled M6 instead of its expanded gates. What the circuit does must not change.starting from // Grover on 3 qubits, marked state |110>; function mark6(int a, int b, int c) {; X a; CZ [a,b,c]; X a; }; function diffuse3(int a, int b, int c) {; H (a,b,c); X (a,b,c); CZ [a,b,c]; X (a,b,c); H (a,b,c); }; H (0..2); mark6(0, 1, 2); diffuse3(0, 1, 2); mark6(0, 1, 2); diffuse3(0, 1, 2)4✗62%✗57%✗62%✗52%✗52%✗62%✗0%
The spinpair function in my project file lib/rot.qubi does not build, and once it builds it still will not match its own comment. Fix it inside lib/rot.qubi. This main file is right and must stay exactly as it is.starting from #include lib/rot.qubi; // main: one flipped wire, then the pair; X 2; spinpair(0, 1)5✗11%✗36%✗87%✗40%✗40%✗15%✗15%
both team files define Mark and main is getting team A's version right now cause its included first. make that call use team B's Mark with the file prefix instead, and dont reorder or drop either includestarting from #include lib/teama.qubi; #include lib/teamb.qubi; // one 2-qubit Grover round with the team oracle; H (0,1); Mark(0, 1); H (0,1); X (0,1); CZ [0,1]; X (0,1); H (0,1)5✗25%✗25%✗25%✗25%✗25%✗25%✗0%
Keep a mask m = 0b101100. Put H on qubit 0, then with a while LOOP that peels off the lowest bit of m each pass (test m & 1, then shift m right by one) and a wire counter that starts at 0, apply a CX from qubit 0 to every wire whose bit is set in m.5✓100%✓100%✓100%✓100%✗64%✗28%✗64%
Write a 4-qubit QFT by hand with two nested while loops: for each target i from 3 down to 0, H on i, then for each lower wire j a controlled phase CP between j and i whose angle, 1/2^(i-j) in piradians, is computed from the counters. No QFT() call and no final swaps.5✓100%✓100%✓100%✗11%✗10%✓100%✗0%
Define a parametric one-qubit gate PHS(t) from its matrix, 1 and 0 on the first row and 0 and e^(i*t) on the second. Put H on qubits 1, 2 and 3, then with a while loop over k = 1, 2, 3 apply PHS(k/4) to wire k.5✓100%✓100%✓100%✗20%✗40%✓100%✗20%
this is the same 3-line block 3 times with the wires and the angle going up by one step each time. rewrite it as one while loop with a counter (angle worked out from the counter too), same circuit exactly, keep the commentstarting from // ZZ couplings with growing angles, written out by hand; H (0..3); CX [0,1]; RZ 1 0.25; CX [0,1]; CX [1,2]; RZ 2 0.5; CX [1,2]; CX [2,3]; RZ 3 0.75; CX [2,3]5✓100%✓100%✗45%✗11%✗7%✗16%✗0%
Write a function prep(string kind = "plus", int q = 0) that puts wire q in |+> when kind is "plus", in |-> when it is "minus", and in |1> for anything else, with if / elif / else on kind. Then call prep() with both defaults, prep("minus", 1), and prep("one", 2).5✓100%✓100%✓100%✓100%✗17%✓100%✗0%
bored of building circuits, open up the puzzles so i can practise a bit1✓100%✓100%✓100%✓100%✓100%✓100%✓100%
The talk is starting now. Put my Hamiltonians deck into presentation mode.1✓100%✓100%✗90%✓100%✓100%✓100%✗33%
In the NMR lab, set the magnetic field to 14.1 T (that's a 600 MHz proton machine) and switch to the FID view.2✓100%✗30%✓100%✓100%✓100%✓100%✗0%
rabi video: stretch clip number 2 to five seconds and then start playback2✓100%✓100%✓100%✓100%✓100%✗30%✗0%
the measurement basis labels in col A get cut off, make column A 220 px wide and shrink column D to 80 px. leave B and C as they are2✓100%✓100%✓100%✓100%✓100%✗30%✗0%
Without changing anything, tell me which .qubi files this project has besides main.qubi.starting from // project entry point; H 0; CX [0,1]2✓100%✓100%✓100%✗25%✓100%✗25%✓100%
On the last clip of my video (the Bloch one), add the caption 'Equal weights on |0> and |1>' at 10% across and 15% down the frame.2✗75%✗75%✗75%✓100%✓100%✗75%✗0%
Change my bar chart into a line chart called 'Rabi oscillation'. Same data, and I don't want a second chart.2✓100%✓100%✓100%✓100%✗50%✗22%✗0%
I want to 3D print this circuit. Open the 3MF export preview first so I can look at it before I download anything.starting from H 0; CX [0,1]; RZ 1 0.5; MEASURE (0,1)2✓100%✓100%✓100%✓100%✓100%✓100%✓100%
Replace the fixed 0.3 in qubit 0's RY with a sweep from 0 to 1 (units of pi) in steps of 0.125, and run the sweep for the target |11>.starting from RY 0 0.3; CX [0,1]; RZ 1 0.253✓100%✓100%✗33%✗33%✗33%✗13%✗6%
Turn the LOOP count into a sweep over 1 to 6 iterations and run it for |110>, so I can see where the success probability peaks.starting from // Grover search for 110; H (0..2); LOOP 1 {; // oracle: flip the sign of |110>; X 0; CZ [0,1,2]; X 0; // diffuser; H (0..2); X (0..2); CZ [0,1,2]; X (0..2); H (0..2); }3✓100%✓100%✓100%✓100%✓100%✗20%✗20%
nmr lab: load alanine, T1 = 1.5 s and T2 = 0.08 s, gaussian pulses, then show me the energy levels view3✗80%✗80%✗80%✓100%✓100%✗0%✗0%
The Outcomes chart only covers the first four states. Make it cover all eight rows of data (A1:B9) and draw it as horizontal bars.3✓100%✓100%✓100%✓100%✓100%✗0%✗0%
wipe the Scratch sheet totally, chart and all. dont touch the Data sheet, and keep the Scratch tab itself (just empty)3✗90%✓100%✓100%✓100%✓100%✗50%✗0%
on the summary sheet B6 is a total i typed by hand, swap it for a formula adding up B2:B5. also col A needs to be 200 px wide3✓100%✓100%✗75%✗75%✗75%✗75%✗75%
Slide 3 is a backup slide, move it to the very end of the deck. Then put the Steane code slide (currently slide 7) right after the Shor code slide. Nothing gets deleted.3✓100%✓100%✗50%✗0%✗22%✓100%✗25%
Switch the NMR lab to the glycine sample and look at the 15N channel only, with the readout pulse turned off and the RF amplitude at 12.5 mT.3✗75%✗45%✗75%✓100%✓100%✗75%✗0%
Run my two-parameter sweep for |10>, plotted against b instead of the combination number, and with the results table hidden.starting from a = <0, 0.5, 1>; b = <0.25, 0.75>; RY 0 a; RY 1 b; CX [0,1]3✓100%✓100%✗80%✗60%✗60%✗80%✗0%
In tests/bell_check.qubi (not main), replace the CX [0,1] line with H 1, CZ [0,1], H 1 on three lines, so the test builds the Bell pair from a CZ. Leave main.qubi and the other file alone.starting from RY 0 0.2; CX [0,1]3✗35%✗35%✗35%✗50%✗50%✗35%✗35%
make every clip in my video exactly 3 seconds, so the whole thing runs 15 s3✓100%✓100%✗25%✗40%✗25%✗22%✗0%
Have my sweep export an .xlsx file automatically every time it runs and hide the plot (keep the table), then run it for |11>.starting from phi = <0.(0.1).1>; RY 0 phi; CX [0,1]3✓100%✓100%✓100%✗60%✓100%✗0%✗0%
Change the RX on qubit 0 so its angle is swept in degrees: 0, 30, 60 and so on up to 180. Then run the sweep for |01>.starting from RX 0 0.5; H 14✓100%✗40%✓100%✗48%✗28%✗0%✗0%
on the Qubits sheet sort the 6 qubit rows by T2, longest first (header row stays put), then make that sheet's column A 160 px wide. Plots sheet stays as is4✓100%✓100%✗40%✗20%✗20%✗20%✗0%
Duplicate slide 4 (Syndrome extraction) and call the copy 'Syndrome extraction (detail)'. Then delete the 'Old timeline' slide and start presenting the deck.4✗60%✗60%✗40%✗20%✗20%✗20%✗20%
Rename experiments/run_07.qubi to run_07_final.qubi (same folder), make a copy of lib/mixer.qubi called mixer_v2.qubi next to it, and open that copy in the editor.starting from // project entry point; H 0; CX [0,1]4✓100%✓100%✓100%✓100%✓100%✓100%✗0%
Sweep both RY angles in this circuit: qubit 0's over 0, 0.5 and 1, and qubit 1's over 0, 0.25, 0.5, 0.75 and 1 (units of pi). Keep the CZ and the final H, and run the sweep for |10>.starting from RY 0 0.2; RY 1 0.6; CZ [0,1]; H 14✓100%✓100%✓100%✗33%✗33%✗13%✗13%
On the Fit sheet, rename the chart called 'draft' to 'T2 decay fit' and make it a scatter plot. The Raw sheet has a chart called 'draft' too, and that one stays exactly as it is.4✓100%✓100%✓100%✓100%✗45%✓100%✗0%
On the Readout sheet: sort the eight state rows by count, largest first (header stays on top), point the existing Counts chart at the whole table A1:B9 as a pie titled 'Readout share', widen column A to 120 px, and in D1 put a formula for the top state's share of all the counts.5✓100%✗73%✓100%✗45%✗45%✗28%✗17%
Delete both T gates from the circuit, then open the SVG export preview so I can see what's left.starting from // phase demo; H 0; T 0; CX [0,1]; T 1; H 13✓100%✓100%✓100%✓100%✓100%✓100%✗66%
what qubi files have i got in here? list them for me and then open whichever one is in the experiments folderstarting from // project entry point; H 0; CX [0,1]3✓100%✓100%✗50%✗66%✗66%✗66%✗0%
Set up the entangled state (|00> + i|11>)/√2 using qubits 0 and 1, then switch to the density-matrix display.3✓100%✓100%✓100%✗66%✗66%✓100%✗50%
Sweep the RY angle on qubit 0 over 0, 0.25, 0.5, 0.75 and 1 (units of pi) and run the sweep for |11>. Then in a new spreadsheet put the headers Angle and P(11) in A1:B1, the five angles in A2:A6, the probabilities the sweep gives in B2:B6 (4 decimals), and add a line chart of A1:B6.starting from RY 0 0.4; CX [0,1]4✓100%✓100%✓100%✗40%✗33%✗0%✗21%
Prepare (|01> + |10>)/√2, then set the NMR lab up for it: the chloroform sample, a 9.4 T field, the readout pulse off, and the spectrum view.4✗83%✗83%✗83%✗66%✗66%✗33%✗12%
make a video outta this circuit, on its opening title clip add a caption 'P(11) = ...' with the actual probability to 4 decimals, then hit playstarting from RY 0 0.35; CX [0,1]; RY 1 0.24✓100%✓100%✗18%✗80%✗80%✗18%✗18%
slide deck of this circuit pls, then delete its last 2 slides (9 and 10), give the deck the light appearance and start presentingstarting from H 0; CX [0,1]; RY 2 0.34✓100%✓100%✗75%✗67%✗67%✗12%✗12%
clear this sheet first, old chart included, then write the circuit's probabilities for all 8 basis states into A1:B9 (headers State and P, the states 000 to 111 in order down column A) and add a bar chart of A1:B9 titled 'Run 2'.starting from H 0; CX [0,1]; RY 2 0.33333333334✗90%✓100%✓100%✗72%✗68%✗28%✗28%
Make a spreadsheet from this circuit and widen its column A to 180 px. Then start a slide deck called Summary whose second slide, titled 'Top outcome', gives the most likely basis state and its probability (4 decimals).starting from RY 0 0.3; RY 1 0.6; CZ [0,1]; H 14✓100%✓100%✓100%✗45%✗45%✗25%✗25%
make a 4 qubit ghz on qubits 0-3, then in the nmr lab load the crotonic acid sample, T2 = 0.25 s, and open the pulse programme view4✗54%✗54%✗40%✓100%✓100%✗40%✗40%
In lib/prep.qubi change the RY angle from 0.3 to 0.6, then come back to main.qubi (it includes that file) and open the Bloch spheres.starting from #include lib/prep.qubi; CX [0,1]4✓100%✓100%✓100%✗65%✗57%✓100%✗36%
sweep this grover LOOP from 1 to 5 iterations and run it for |0110>. after that put the LOOP back to a fixed count, whichever one gave the highest success probability, and tell me that probability to 4 decimalsstarting from // 4-qubit Grover, target 0110; H (0..3); LOOP 1 {; X (0,3); CZ [0,1,2,3]; X (0,3); H (0..3); X (0..3); CZ [0,1,2,3]; X (0..3); H (0..3); }5✓100%✗74%✗59%✗16%✗49%✗16%✗41%
From the circuit in the editor: make a new workbook listing every outcome that can actually occur (State in column A, P in column B to 4 decimals, a header row, most likely first) with a doughnut chart of that table titled 'Outcomes'. Then make a slide deck 'Lab report' with a bullet slide 'Results' listing each outcome as '<state>: <P>', and start presenting it.starting from RY 0 0.4; CX [0,1]; RY 2 0.75✓100%✓100%✓100%✗23%✗23%✗9%✗14%
Run my gamma sweep for |1> with the plot hidden and automatic CSV export switched on. Then make a slide deck with a slide titled 'Sweep peak' saying which gamma gave the largest P(1) and what that probability was (4 decimals).starting from gamma = <0.(0.2).0.8>; H 0; RZ 0 gamma; H 05✓100%✗66%✗33%✗66%✗40%✗0%✗0%
Write Grover's search for |100> on 3 qubits as plain gates with the optimal number of iterations. Then start a new video called 'Grover 100': after its title clip add a 4-second circuit clip and then a 5-second results clip carrying the text 'P(100) = ...' with the real success probability (4 decimals), and play it.5✓100%✓100%✗0%✗50%✗50%✗33%✗0%
On 4 qubits, run Grover's search marking both |1010> and |0101>, written as plain gates with the optimal number of iterations. Then in a new sheet put State and P as headers in A1:B1, the two marked states with their success probabilities in rows 2 and 3, 'other' with the leftover probability in row 4 (4 decimals throughout), and a pie chart of A1:B4.5✓100%✓100%✗56%✗68%✗62%✗94%✗14%
Next to my measured Bell counts: put 'Measured P' in C1 with formulas in C2:C5 dividing each count by 1000, put 'Theory P' in D1 with this circuit's exact probabilities for the same states in D2:D5 (4 decimals), then change the existing Counts chart so it covers A1:D5 and is titled 'Measured vs theory'.starting from H 0; CX [0,1]; RY 0 0.25✓100%✓100%✓100%✗38%✗38%✗38%✗38%
In my GHZ notes deck, replace the question marks on slides 3 and 5 with the exact P(000) and P(111) of the circuit in the editor (4 decimals), delete slide 4 (the draft), switch the deck to the light look, and present it.starting from RY 0 0.3; CX [0,1]; CX [1,2]5✓100%✓100%✓100%✗60%✗40%✗0%✗0%
run my phi sweep for |11>. then swap the sweep for the first phi value whose P(11) is at least 0.9 (a fixed angle on the RY of qubit 0, no sweep left in the code) and write that angle in A1 and its P(11) in B1 of a sheet, 4 decimalsstarting from phi = <0.(0.1).1>; RY 0 phi; CX [0,1]5✓100%✓100%✓100%✗7%✗0%✗10%✗7%
In my circuit video: make the first clip 2 seconds, put the caption 'Three-qubit GHZ, then a tilt' on that first clip, add a 6-second Bloch clip at the very end, and play it.starting from H 0; CX [0,1]; CX [1,2]; RY 0 0.255✓100%✓100%✓100%✓100%✓100%✓100%✗10%
For each of the 3 qubits in the editor, put its <Z> expectation value (4 decimals) in a new workbook: headers Qubit and <Z> in A1:B1, then qubits 0, 1, 2 in A2:A4 with their values in B2:B4. Add a bar chart of A1:B4 titled 'Z expectations', widen column B to 120 px, and tell me which qubit is closest to |1>.starting from RY 0 0.25; RY 1 0.5; RX 2 0.75; CX [0,1]5✓100%✗89%✗89%✗67%✗69%✗57%✗14%
Prepare the W state on qubits 0 to 2, then set the NMR lab up for it: the trifluoroethylene sample, a 9.4 T field, RF amplitude 1.2 mT, T1 4 s, T2 0.5 s, Hermite pulse shapes, and the FID view.5✓100%✗60%✗66%✗66%✗66%✗33%✗33%

✓ passed (97% or more) or ✗ not, with the task's score under it. Difficulty runs from 1 (trivial) to 5 (expert). Hover over or focus a category bar to see its shares.

QubiBench v3
  • Pauli 2.1 Deep91.6%
  • Pauli 2.1 Medium90.7%
  • Pauli 2.1 Nano78.6%
  • Pauli 2.0 Deep72.2%
  • Pauli 2.0 Medium65.5%
  • Fermi 1.0 Cloud50.0%
  • Pauli 2.0 Nano41.5%
  • Fermi 1.0 Local28.6%
  • Pauli 1.022.8%
MeasurePauli 2.1Fermi 1.0Pauli 2.0Pauli 1.0
DeepMediumNanoCloudLocalDeepMediumNano
91.6%90.7%78.6%50.0%28.6%72.2%65.5%41.5%22.8%
91.6%92.8%81.3%35.3%28.6%74.6%66.6%43.3%30.8%
Pass rateTasks scored 97% or more85.0%82.0%68.5%33.0%12.0%59.5%47.5%20.0%2.5%
Median time to complete a request 13.7 s12.4 s5.2 s1.2 s7.1 s20.0 s9.7 s2.9 s< 0.1 s
Neurons per requestAverage Workers AI neurons for a request 1,58967417060.301,18921126853.3
Average cost for a request $0.0262$0.0111$0.0028$0.00099$0$0.0196$0.0035$0.0044$0.00088
Main modelThe model that answers firstGLM-5.3DeepSeek V4 FlashGLM-5.3 FlashLlama-Fermi 1.0Kimi K2.7 CodeGPT-OSS 120BQwen2.5-Coder 32BQwen2.5-Coder 32B
ParametersSize of the main model744B40B active284B13B active320B18B active3B1T32B active117B5B active32B32B
Every task and result
  • State preparation
  • Algorithms
  • Circuit synthesis
  • Editing and debugging
  • Qubi language
  • Simulator apps
  • Multi-step requests
  • Quantum knowledge
CategoriesRequestDiff.Pauli 2.1Fermi 1.0Pauli 2.0Pauli 1.0
DeepMediumNanoCloudLocalDeepMediumNano
Seven-qubit register: wires 1, 4 and 6 should read 1 with certainty and every other wire 0.1✓100%✓100%✓100%✓100%✓100%✓100%✓100%✗22%✗5%
only qubit 2 should change: put it on the equator of the bloch sphere at azimuth 3pi/4, so (|0> + e^(i3pi/4)|1>)/sqrt2. qubits 0 and 1 stay |0>2✓100%✓100%✓100%✗37%✗63%✓100%✓100%✗63%✗37%
Make (|0000000> − |1010101>)/√2 on 7 qubits: qubits 0, 2, 4 and 6 entangled in a GHZ with a minus sign, qubits 1, 3 and 5 untouched.2✗39%✗39%✗39%✗39%✗35%✓100%✓100%✗48%✗39%
need qubit 3 to be sqrt(0.7)|0> - sqrt(0.3)|1>, so it reads 1 thirty percent of the time but with a negative amplitude on |1>. qubits 0,1,2 stay at zero2✓100%✓100%✓100%✗41%✗30%✓100%✓100%✗79%✗7%
Four qubits. Put amplitude 1/√2 on |0010> and i/√2 on |1000>, nothing anywhere else (qubit 0 is the rightmost bit).2✓100%✓100%✗14%✗75%✗12%✗12%✗12%✗12%✗12%
six qubit register pls: qubit 0 and qubit 5 set to 1, qubit 3 in the minus state |->, all the rest just |0>2✓100%✓100%✓100%✗30%✗66%✓100%✓100%✗23%✗26%
keep the two lines in my editor exactly as they are and add whatever comes after them so the final state is (|00> − i|11>)/√2starting from H 0; CX [0,1]3✓100%✓100%✓100%✗43%✗81%✓100%✓100%✓100%✗28%
Two qubits: amplitudes 1/√3 on |00>, i/√3 on |01>, −1/√3 on |10>, and |11> must be empty.3✓100%✓100%✗55%✗64%✗13%✗30%✗38%✗30%✗13%
Uniform superposition of all eight 3-qubit basis states, except that the three states containing exactly one 1 (|001>, |010>, |100>) get a minus sign.3✓100%✓100%✓100%✗34%✗34%✗25%✗15%✗15%✗34%
graph state on 4 qubits for a star graph: qubit 2 is the hub, joined to 0, 1 and 3 and no other edges3✓100%✓100%✗28%✓100%✗4%✓100%✗0%✗4%✗37%
set qubit 0 to the bloch point theta=pi/3, phi=-pi/2 and qubit 1 to theta=3pi/4, phi=pi (cos(theta/2)|0> + e^{i phi} sin(theta/2)|1> convention), not entangled3✗29%✗29%✗29%✗29%✗40%✓100%✗24%✗80%✗0%
Prepare the 2-qubit state whose amplitude on |k> is proportional to k (k = 0, 1, 2, 3, read with qubit 0 as the least significant bit), normalised, all amplitudes real and non-negative.4✓100%✓100%✓100%✓100%✗22%✗28%✗22%✗22%✗49%
Build a 4-qubit state that measures 0000 with probability 0.4, 1111 with 0.3, 0101 with 0.2 and 1010 with 0.1, and nothing else.4✓100%✓100%✓100%✓100%✓100%✓100%✓100%✓100%✗36%
Four qubits: qubit 0 in |1>, and qubits 1, 2, 3 in a W state with equal-magnitude amplitudes, where the term in which qubit 3 is the excited one carries a minus sign.3✗17%✗17%✗29%✗17%✗16%✓100%✗8%✗8%✗23%
Make the graph state for a pentagon whose corners are qubits 0, 1, 2, 3, 4 in that order around the shape.3✓100%✓100%✓100%✓100%✗2%✓100%✓100%✗25%✗34%
Four qubits as two independent pairs. Pair (0,1): (|00> + e^{iπ/4}|11>)/√2. Pair (2,3): +1/√2 when only qubit 2 is set and −1/√2 when only qubit 3 is set.3✓100%✓100%✓100%✗6%✗12%✓100%✗0%✗0%✗0%
Make cos(π/5)|000> + i·sin(π/5)|111> on three qubits.3✓100%✓100%✗28%✗28%✗4%✓100%✗51%✗28%✗28%
want a 5 qubit ghz-like thing where 00000 has 85% probability and 11111 has 15% and the 11111 amplitude is negative3✗36%✗71%✗36%✗71%✗36%✗76%✗76%✗76%✗36%
Prepare √0.9·|01> − √0.1·|10> on qubits 0 and 1 (qubit 0 is the rightmost bit, so the larger term has only qubit 0 set).3✓100%✓100%✗79%✓100%✗70%✗83%✗83%✗37%✗26%
Let k run over 0–7 on three qubits (qubit 0 is bit 0 of k). Give every |k> magnitude 1/√8 and phase πk²/4.4✓100%✓100%✓100%✗45%✗17%✗20%✗62%✗17%✗17%
Make the 4-qubit state where every |k> has amplitude e^{−2πi·3k/16}/4 (k = 0..15, qubit 0 least significant).4✓100%✓100%✗74%✓100%✗23%✓100%✓100%✗23%✗23%
Prepare exactly 0.5|00> − 0.5i|01> + (1/√2)e^{iπ/3}|11> on two qubits (no |10> component).4✗60%✗62%✗59%✓99%✗31%✗25%✗62%✗31%✗31%
Prepare (|0000> + |0110> + |1001> − |1111>)/2 on four qubits.4✓100%✓100%✓100%✓100%✗12%✓100%✗18%✗18%✗18%
Prepare (|011> + i|101> − |110>)/√3: every 3-bit string with exactly two 1s, with those phases.5✓100%✗55%✗28%✗28%✗14%✗2%✗2%✗2%✗27%
On 3 qubits, an equal superposition of the five basis states |000>, |001>, |010>, |011> and |100> (the numbers 0 to 4), all amplitudes +1/√5, zero on 5, 6 and 7.5✓100%✓100%✓100%✗62%✗15%✓100%✗30%✗30%✗62%
Prepare (1/2)|001> + (i/√2)|100> − (1/2)|111> on 3 qubits, using at most 16 gate lines.5✓100%✗71%✗33%✗65%✗37%✗42%✗42%✗25%✗42%
Three qubits: the amplitude of |k> is proportional to k+1 for k = 0..7 (qubit 0 least significant), with a minus sign whenever k has an odd number of 1 bits. Normalise it.5✓100%✗94%✗51%✗48%✗40%✗26%✗24%✗24%✗5%
Two-qubit Grover search with the marked item |10> (qubit 1 set, qubit 0 clear), as gates.1✓100%✓100%✓100%✓100%✓100%✓100%✓100%✓100%✓100%
show phase kickback: qubit 1 is the target, prepare it in |-> , use qubit 0 as control with a CX [0,1] sandwiched between Hadamards on qubit 0, so that qubit 0 ends up exactly |1>2✓100%✓100%✓100%✗45%✗45%✓100%✓100%✓100%✗7%
Bernstein–Vazirani with hidden string 11010 on data qubits 0–4 (qubit 0 is the last bit of the string) and the oracle ancilla on qubit 5; stop before measuring.2✓100%✓100%✓100%✓100%✓100%✓100%✗90%✓100%✓100%
Grover search over 3 qubits (no extra qubits) for the two marked states |011> and |100>, with the number of iterations that makes them certain.3✓100%✓100%✓100%✗0%✓100%✓100%✓100%✓100%✗50%
My editor has the Bell pair and Bob's decoder for superdense coding, with Alice holding qubit 1. Put Alice's encoding in place of the comment so that Bob decodes |11>. Keep the other lines.starting from H 1; CX [1,0]; // Alice encodes here; CX [1,0]; H 13✓100%✓100%✗25%✗25%✗0%✓100%✓100%✓100%✗0%
is f(x) = (x0 AND x1) XOR x2 constant or balanced? set up the deutsch jozsa circuit for it, inputs on 0 1 2, the f-output qubit is 3, and leave it right before you would measure3✓100%✓100%✓100%✗25%✗25%✓100%✗0%✗0%✗0%
Qubit 0 should be |1>. Load the number 6 into qubits 1–3 (qubit 1 is that register's least significant bit), then apply the QFT to qubits 1–3 only.3✓100%✓100%✓100%✗30%✗15%✓100%✗51%✗15%✗45%
do a swap test with qubit 0 as the ancilla comparing qubit 1 (left in |0>) and qubit 2 (rotated by RY of 2pi/3), stopping right before you would measure the ancilla3✓100%✓100%✓99%✓99%✗0%✓100%✓100%✗0%✗0%
Grover search on qubits 0–2 for the marked states |101> and |111>, with the oracle written as a bit-flip onto an ancilla on qubit 3 that you prepare in |−> (phase kickback). One iteration; the ancilla may be left as it is.4✓100%✓100%✓100%✓100%✗0%✗40%✓100%✓100%✗40%
Grover on 4 qubits where three items are marked: |0011>, |0110> and |1100>. Use the iteration count that gives the highest success probability and stop before measuring.5✓100%✓100%✓100%✓100%✓100%✓100%✓100%✓100%✗0%
ok grover time, 4 qubits, i want 1001 and 0111 to come out (both marked), pick however many rounds is best and dont add measurements4✓100%✓100%✗50%✓100%✓100%✓100%✓100%✓100%✗0%
Phase estimation with 4 counting qubits (0–3, qubit 0 least significant) for U = P(2π·3/16) acting on qubit 4 in its |1> eigenstate. Use the inverse QFT so the counting register reads the phase as the number 3. No measurement.4✓100%✓100%✓100%✗25%✗25%✓100%✓100%✗25%✗25%
qpe for U = P(0.6pi) on qubit 3 (put it in |1> first), 3 counting qubits 0-2 with qubit 0 as least significant, controlled powers then inverse qft, and leave it unmeasured. phase 0.3 isnt exact in 3 bits so i expect a spread4✓100%✓100%✓100%✗2%✗2%✗2%✗1%✗2%✗41%
Run phase estimation of U = Z with 3 counting qubits (0–2, qubit 0 least significant) but with the target qubit 3 prepared in |+> instead of an eigenstate. Stop before measuring.4✗50%✓100%✗50%✗50%✗50%✗71%✓100%✗50%✗50%
teleport whatever my two lines make on qubit 0 over to qubit 4, using qubit 2 as the middle of the entangled pair. no measurements, do the corrections as controlled gates (deferred measurement) and keep my lines at the topstarting from RY 0 0.7; P(0.2) 04✓100%✓100%✓100%✗16%✗36%✗36%✓100%✗73%✗36%
The code in my editor makes some 3-qubit GHZ-type state on qubits 0–2. Using qubit 3 as a helper, copy the eigenvalue of X⊗X⊗X on qubits 0–2 into the helper (helper |0> for +1, |1> for −1) without disturbing qubits 0–2 and without MEASURE. Keep my code above it.starting from H 0; Z 0; CX [0,1]; CX [0,2]4✓100%✓100%✗18%✗43%✗57%✓100%✗75%✗23%✗18%
The code in my editor puts a number into the Fourier basis on qubits 0–2. Add an inverse QFT after it so the register shows the number as a plain basis state (qubit 0 least significant). Keep my code.starting from H (0..2); P(0.75) 0; P(1.5) 1; Z 24✓100%✓100%✓100%✓100%✓100%✓100%✓100%✗31%✗31%
Qubits 0&1 share a singlet and so do 2&3, where singlet means (|01> − |10>)/√2. With no MEASURE, perform a Bell measurement between 1 and 2 (CX then H) plus outcome-controlled fixes on qubit 3, so the outer qubits 0 and 3 are left in that same singlet whatever the outcome.5✓100%✗50%✗0%✗25%✗0%✗0%✗0%✗0%✗0%
My editor prepares a data qubit on qubit 2. Protect it with the 3-qubit phase-flip code on qubits 2, 3, 4, then apply a Z error to qubit 2, then find and fix the error without measuring using ancillas 0 and 1, and decode so the original state is back on qubit 2. Ancillas may stay dirty.starting from RY 2 0.3; T 25✓100%✗66%✗33%✗50%✗78%✓100%✓100%✓100%✓100%
My editor holds the state-preparation circuit A (two RY rotations). Do exactly one round of amplitude amplification towards |11>: mark |11> with a phase flip, then reflect about A|00> (A†, reflect about |00>, A) — not about the uniform superposition. Keep my lines first.starting from RY 0 0.4359057832; RY 1 0.58043062335✓100%✓100%✓100%✗25%✗0%✗21%✓100%✓100%✗12%
Period finding for f(x) = 2^x mod 5: counting register on qubits 0–2 (qubit 0 least significant), work register on qubits 3–5 holding f(x) in binary (qubit 3 least significant). Hadamards on the counting qubits, compute f(x) into the work register reversibly, then the inverse QFT on the counting register. Stop before measuring.5✓100%✓100%✗14%✓100%✗0%✗25%✗90%✓100%✗25%
Grover over qubits 0–2 for the Boolean function f(x) = (x0 AND x1 AND NOT x2) OR (x2 AND NOT x0 AND NOT x1), oracle via an ancilla on qubit 3 that must be back in |0> at the end. Use the iteration count that finds a solution with certainty.5✓100%✗25%✗25%✗12%✗0%✗1%✓100%✗0%✗1%
Hadamard test for the imaginary part of <1|U|1> with U = P(5π/3): ancilla on qubit 0, qubit 1 prepared in |1>, controlled-U from the ancilla, arranged so that P(ancilla = 0) = (1 + Im<1|U|1>)/2. Do not measure.5✓100%✓100%✓100%✗6%✗56%✓100%✗90%✗6%✗6%
Build a square-root-of-NOT (√X) on qubit 2 out of H and S gates only; a global phase is fine.1✓100%✓100%✓100%✗72%✗16%✓100%✓100%✓100%✗8%
need a Y gate on q0 but my gate palette is only H and S... build it from those (global phase dont matter)2✓100%✓100%✓100%✗8%✗75%✓100%✗37%✗50%✗0%
Controlled-Y with control qubit 1 and target qubit 3, built from CX plus S and SDG only. Relative phases must match a real CY.2✓100%✓100%✓100%✗16%✗75%✓100%✗84%✗25%✗25%
XOR the value (q0 OR q1) onto qubit 2, leaving qubits 0 and 1 as they were. Only X, CX and two-control CX [a,b,t] gates.2✓100%✓100%✗25%✓100%✗25%✓100%✓100%✗25%✗25%
Invert qubit 0 whenever qubit 2 is |0> (and do nothing to it when qubit 2 is |1>); qubits 1 and 2 must come out exactly as they went in. X and CX gates only.2✓100%✓100%✓100%✓100%✗25%✓100%✓100%✗25%✗25%
On qubits 0–2, put a minus sign on the |101> component only (qubit 0 is the rightmost bit) and leave every other basis state alone. Use X gates and a single CZ [a,b,c].2✓100%✓100%✓100%✗25%✗8%✓100%✓100%✗25%✗25%
Controlled-RX(π/3): control qubit 1, target qubit 0, from H, RZ and CX only. Phases count.3✓100%✗85%✗85%✓100%✗25%✓100%✗25%✗25%✗25%
swap qubits 1 and 3 only when qubit 0 is |0> (when it's |1> leave everything alone), gates allowed X, CX and two-control CX [a,b,t], nothing else pls3✓100%✓100%✓100%✗0%✗25%✓100%✗25%✗25%✗25%
Qubits 0, 1, 2 store a number from 0 to 7 (qubit 0 is the least significant bit). Make the circuit count it down by one, wrapping 0 around to 7. X, CX and CX [a,b,t] only.3✗25%✗25%✓100%✓100%✗81%✓100%✗25%✗43%✗21%
got a 4-bit gray code sitting in qubits 0-3 (q3 = most significant). convert it in place to plain binary: b3=g3 and each lower bit is the xor of all the gray bits above it plus itself. only CX gates3✓100%✓100%✓100%✓100%✗18%✓100%✓100%✗25%✗25%
Rotate the 4 bits in qubits 0..3 by one place towards the higher index: qubit 0's bit goes to qubit 1, 1 to 2, 2 to 3, and qubit 3's bit wraps round to qubit 0. CX gates only, 9 at most.3✗48%✗48%✗48%✗40%✗40%✓100%✗48%✗40%✗20%
Add 3 to the 3-bit number held in qubits 0–2 (qubit 0 is the 1s place), modulo 8, using X, CX and Toffoli CX [a,b,t] gates only.3✓100%✓100%✓100%✗0%✗43%✓100%✗0%✗25%✗0%
Make the GHZ state (|000> + |111>)/√2 on qubits 0, 1, 2 without any CX: H and CZ gates only.3✓100%✓100%✓100%✗75%✗83%✓100%✗43%✗53%✗25%
Flip qubit 3 exactly when qubits 0, 1 and 2 are all 1. You may only use two-control Toffolis (CX [a,b,t]), CX and X, and you get qubit 4 as scratch: it starts in |0> and must be back in |0> at the end.4✓100%✓100%✓100%✗33%✗50%✓100%✓100%✗50%✗33%
Registers: A = (q1 q0) with q0 least significant, B = (q3 q2) with q2 least significant. Raise flag qubit 4 to 1 exactly when A == B, and restore A and B. X, CX and CX [a,b,t] only.4✗25%✓100%✗25%✗25%✗0%✓100%✗0%✗25%✗25%
count how many of qubits 0,1,2 are 1 and write that count in binary into qubit 3 (low bit) and qubit 4 (high bit) — those two start at 0. leave 0-2 alone. reversible gates only: X CX toffoli4✓100%✓100%✓100%✗0%✗25%✗12%✗17%✗21%✗12%
Qubits 0-1-2-3 sit on a line and a CX may only act on neighbours (0–1, 1–2, 2–3, either direction). Implement a CX with control 0 and target 3, leaving qubits 1 and 2 exactly as they were.4✓100%✓100%✓100%✗66%✗66%✓100%✗50%✗50%✗50%
Controlled-RY(2π/5) with control qubit 2 and target qubit 0, using only RY and CX gates.4✓100%✓100%✓100%✗25%✗25%✓100%✗61%✗25%✗25%
Full adder: a on qubit 0, b on qubit 1, carry-in on qubit 2. Afterwards qubit 2 must hold the sum bit a⊕b⊕cin and qubit 3 (starts at 0) the carry-out; qubits 0 and 1 unchanged. Toffoli, CX and X only.4✗50%✓100%✓100%✗18%✗25%✗16%✗16%✗22%✗15%
Exchange qubits 2 and 3 using nothing but CZ and H gates.4✓100%✓100%✗50%✗0%✗0%✓100%✓100%✗50%✗50%
can u build the two-qubit XX rotation exp(-i·(π/6)·X⊗X) on qubits 0 and 1 (so RXX(π/3)) using H, CX and RZ only? phases matter4✓100%✓100%✓100%✗0%✗12%✓100%✓100%✗25%✗0%
Two-bit registers: a on qubits 1,0 (qubit 0 low) and b on qubits 3,2 (qubit 2 low). Replace b with (b − a) mod 4 and keep a as it is. At most 6 gate lines of X, CX and CX [a,b,t].5✓100%✓100%✗80%✗0%✗0%✓100%✓100%✗40%✗40%
A phase flip on |1111> of qubits 0–3 only (a triple-controlled Z), relative phases exact, using H, CX and two-control Toffolis CX [a,b,t] only, with qubit 4 as a clean scratch qubit that must return to |0>.5✓100%✓100%✓100%✗45%✗45%✓100%✓100%✗44%✗33%
need a doubly controlled swap: swap q0 and q1 only if q2 AND q3 are both 1. q4 is a spare ancilla in |0> that has to end in |0>. only X / CX / toffoli (2 controls max), no CSWAP5✓100%✓100%✓100%✗30%✗50%✗33%✗40%✗45%✗33%
Doubly-controlled RY(π/2): rotate qubit 2 by RY(π/2) only when qubits 0 and 1 are both 1, using just RY and two-qubit CX gates (no Toffoli). Phases count.5✗50%✗50%✗50%✗50%✗50%✗33%✗50%✗50%✗50%
Building a 6-qubit GHZ state from one Hadamard followed by a cascade of CNOTs: how many CNOTs does the cascade use?1✓100%✓100%✓100%✓100%✓100%✓100%✓100%✓100%✗0%
whats <Z⊗Z> for the state (|01>+|10>)/sqrt2 ... just the number2✓100%✓100%✓100%✗0%✗0%✓100%✓100%✗0%✗0%
To index 1000 items in a Grover search with one basis state per item, what is the smallest number of qubits the register needs, and how many basis states does that register have?2✓100%✓100%✓100%✗0%✓100%✓100%✓100%✗0%✗0%
What is the concurrence of the two-qubit state cos(π/8)|00> + sin(π/8)|11>?3✓100%✓100%✗0%✗0%✗0%✓100%✓100%✗0%✗0%
starting from |0> i do H, then S, then T on one qubit. whats the x coordinate of the bloch vector after that?3✗0%✗0%✗0%✗0%✗0%✗0%✗0%✗0%✗0%
What is the trace distance between the pure states |0> and RY(π/3)|0>?3✓100%✓100%✓100%✓100%✓100%✓100%✓100%✗0%✗0%
Phase estimation with 3 counting qubits on U = P(3π/4), target prepared in |1>: which integer does the counting register read, and with what probability?3✓100%✓100%✓100%✓100%✓100%✓100%✓100%✗0%✗0%
If 3 out of 64 database entries are solutions, how many Grover rounds should you run to maximise your chance of finding one, and what is that chance?3✓100%✓100%✓100%✓100%✓100%✓100%✓100%✗0%✗0%
Entanglement entropy, in bits (log base 2), of the state √0.9|00> + √0.1|11>?4✓100%✓100%✓100%✗0%✗0%✓100%✓100%✗0%✗0%
Without changing my circuit, what's the probability of measuring 101 (qubit 0 is the rightmost bit) at the end of it?starting from RY 0 0.4; H 2; CX [0,1]; CZ [1,2]; H 2; RY 1 0.34✓100%✓100%✓100%✗25%✗25%✗25%✗0%✗25%✗0%
A swap test compares |0> with RY(2π/3)|0>. What is the probability that the ancilla reads 0?4✓100%✓100%✓100%✗0%✗0%✓100%✓100%✗0%✗0%
QPE with only 2 counting qubits on an eigenstate whose eigenvalue is e^{2πi·0.3}: what is the probability that the counting register reads the integer 1 (binary 01)?5✓100%✓100%✗0%✗0%✗0%✓100%✓100%✗0%✗0%
What is the von Neumann entropy (in bits) of qubit 0 on its own, for the state my editor code makes? Leave the code as it is.starting from RY 0 0.3; CX [0,1]; RY 1 0.25✓100%✓100%✓100%✗25%✗25%✓100%✗62%✗25%✗0%
hey quick one, how entangled is the 2-qubit state my code makes? give me its concurrence as a number, dont touch the codestarting from RY 0 0.6; CX [0,1]; RZ 1 0.25; RY 1 0.155✓100%✓100%✓100%✗25%✗0%✓100%✓100%✗25%✗0%
For the state (|000> + e^{iπ/3}|111>)/√2, what are the expectation values of X⊗X⊗X and of Y⊗Y⊗Y?5✗50%✗50%✗50%✗50%✗50%✗50%✓100%✗0%✗0%
I don't know what state qubit 0 ends up in. Add gates that copy it onto qubit 1 so both qubits hold that same state independently, and it has to work for any state qubit 0 could be in.starting from RY 0 0.37; RZ 0 0.212✓100%✗66%✓100%✗10%✗10%✗43%✓100%✗10%✗10%
ok so alice has q0 and bob has q1 of my bell pair. set it up so alice can send bob a 1 or a 0 instantly just by measuring, no phone call / classical channel needed, faster than light. gostarting from H 0; CX [0,1]3✗76%✓100%✓100%✓100%✗10%✓100%✓100%✗10%✗10%
Define a single-qubit gate that turns |0> into |0> and |1> into |0> as well, as an ordinary unitary gate (no measurement, no reset, no extra qubits).3✓100%✓100%✓100%✗10%✗10%✓100%✓100%✗10%✗10%
Make qubit 2 come out 0 sixty-five percent of the time and 1 fifty-five percent of the time.3✓100%✗66%✗76%✗10%✗10%✓100%✗10%✗10%✗10%
write me a circuit + measurement that looks at ONE copy of a qubit that's either |0> or |+> and tells which with 100% accuracy every time, no errors ever4✓100%✓100%✓100%✗10%✗10%✓100%✓100%✗9%✗10%
Read out qubit 2's measurement result for me but leave its superposition completely undisturbed, so afterwards I have both the outcome and qubit 2's original state.starting from H 0; CX [0,1]; RY 2 0.34✗43%✓100%✗10%✗10%✗0%✓100%✓100%✗43%✗10%
marinate qubit 3 sideways in the eigen-banana basis then defrobulate the CX by 7 wobbles thxstarting from H 0; CX [0,1]4✓100%✗33%✗33%✗10%✗10%✗33%✗66%✗33%✗33%
Keep my circuit exactly as it is, with no new gates and no edits, but make qubit 0's measurement always come out 1.starting from H 05✓100%✗66%✓100%✓100%✗10%✓100%✗66%✗10%✗10%
Give me a 2-qubit unitary circuit that sends |00> to |11> and also sends |01> to |11>.5✗76%✓100%✓100%✗10%✗10%✓100%✓100%✗10%✗10%
can you add a measurement that tells me the global phase of my qubit's state? like the overall e^(i*alpha) factor, i need its valuestarting from H 0; T 05✓100%✗66%✗33%✗33%✗10%✗76%✓100%✗10%✗10%
That RX on qubit 0 was meant to be an RY: keep its 0.4 angle and swap nothing but the rotation axis.starting from // tilted probe qubit; RX 0 0.4; H 1; CZ [0,1]1✓100%✓100%✓100%✓100%✓100%✓100%✓100%✓100%✗58%
ok that TEMP debug flip i left on qubit 2 can go now — delete that one line, nothing else plsstarting from // GHZ across three wires; H 0; CX [0,1]; X 2 // TEMP debug flip, delete me; CX [1,2]1✓100%✓100%✓100%✗27%✗27%✓100%✓100%✓100%✗16%
Raise the second tilt, the RY acting on qubit 1, from 30 to 120 degrees. The first one stays at 30.starting from #settings CodeAngleUnit "degrees"; // readout prep; RY 0 30; RY 1 30; CX [0,1]1✓100%✓100%✓100%✓100%✓100%✗77%✗77%✓100%✗61%
Inside the LOOP, directly after the CP line, add a T on qubit 0 so that it runs on every pass.starting from // phase ladder; H (0,1); LOOP 3 {; CP(0.25) [0,1]; H 1; }; H 02✓100%✓100%✓100%✓100%✗5%✓100%✓100%✗5%✗5%
Immediately ahead of the program's first CX, insert a phase-flip Z acting on qubit 1.starting from // entangle, then mix; RY 0 0.35; H 1; CX [1,2]; CX [0,1]; H 02✓100%✓100%✓100%✓100%✗10%✓100%✓100%✓100%✗10%
I pressed undo twice but only meant to go back once. Redo a single step so the first of those two changes comes back.starting from // three-qubit chain; H 0; CX [0,1]2✓100%✓100%✗13%✗12%✓100%✗13%✗13%✗13%✗7%
Rename the variable theta to alpha and the function layer to entangler, everywhere they appear: definition, calls and uses. The circuit must not change.starting from // variational block, two passes; theta = 0.3; function layer(int a, int b) {; H a; CZ [a,b]; }; RY 0 theta; layer(0, 1); RY 1 theta; layer(1, 2); RZ 2 theta2✓100%✓100%✓100%✓100%✓100%✓100%✓100%✓100%✗25%
can you comment out the stuff between DEBUG begin and DEBUG end?? keep it in the file just switched off, and leave the two marker comments like they arestarting from // Bell pair, then a phase check; H 0; CX [0,1]; // DEBUG begin; X 1; RY 0 0.2; // DEBUG end; CZ [0,1]2✓100%✓100%✓100%✗79%✗0%✓100%✓100%✓100%✗34%
Insert a SWAP of qubits 1 and 2 where my cursor is: it becomes that line and the current line moves down one.starting from // two Bell pairs, then couple them; H 0; CX [0,1]; H 2; CX [2,3]; CZ [1,2]3✓100%✓100%✓100%✗25%✗25%✗25%✗25%✗25%✗25%
Run the lines I have highlighted four times in a row using a loop block, and leave the Hadamards around them as they are.starting from // warm-up rotations; H 0; RZ 0 0.125; RX 0 0.25; H 03✓100%✓100%✓100%✓100%✓100%✓100%✓100%✓100%✗26%
ugh my last two edits wrecked the search, it doesnt find 01 anymore. undo both of them plsstarting from // 2-qubit Grover, marked state 01; H (0,1); X 1; CZ [0,1]; X 1; H (0,1); X (0,1); CZ [0,1]; X (0,1); H (0,1)3✓100%✓100%✓100%✗12%✗0%✓100%✗0%✗22%✗25%
Counting every line including the comments, add an SDG on qubit 2 as a new line straight after line 7.starting from // prep; H 0; H 1; // entangle; CX [0,2]; CX [1,3]; CX [2,3]; // finish; T 33✓100%✓100%✓100%✓100%✓100%✓100%✓100%✗66%✗66%
Between the two Hadamards on qubit 2 there should be a CZ coupling it to qubit 0. Put it there.starting from // interferometer on qubit 2; X 0; H 2; H 2; CX [2,0]3✓100%✓100%✓100%✓100%✓100%✓100%✓100%✓100%✗0%
my measurement is stuck in the middle so the gates after it dont count, move it down to be the very last line, dont change anything elsestarting from // sample a rotated bell pair; H 0; MEASURE (0,1); CX [0,1]; RY 1 0.23✓100%✓100%✓100%✓100%✗25%✓100%✓100%✗50%✗25%
Two syntax errors keep this from building. Repair them without changing what the program is clearly meant to do, and keep the comment.starting from // rotate three wires, then chain CNOTs; function spin(int a, int b, int c) {; RY a 0.25; RY b 0.25; RY c 0.25; }; spin(0, 1, 2); LOOP 2; CX [0,1]; CX [1,2]; }; CX 2 03✓100%✓100%✓100%✗87%✗0%✓100%✓100%✗68%✗68%
The correction at the end flips the wrong data qubit; the comment says which one it should be. Fix only that line.starting from // 3-qubit repetition code: data 0..2; ancilla 3 = q0 xor q1, ancilla 4 = q1 xor q2; RY 0 0.4; CX [0,1]; CX [0,2]; // error on the middle data qubit; X 1; // syndrome; CX [0,3]; CX [1,3]; CX [1,4]; CX [2,4]; // correction: flip the data qubit that both syndromes point at; CX [3,4,0]3✓100%✓100%✗75%✗18%✓100%✓100%✓100%✓100%✗18%
Two changes around the loop: a T on qubit 0 must open every pass (as the first line inside the loop), and the RZ on qubit 2 should happen once before the loop instead of after it.starting from // alternating layers; LOOP 3 {; H (0..2); CZ [0,1]; CZ [1,2]; }; RZ 2 0.14✓100%✓100%✓100%✗75%✗0%✓100%✓100%✗65%✗15%
this swap test keeps telling me my two identical states are different?? something is off in how its wired, fix it so it does what the comments say (might be more than one problem)starting from // swap test: qubit 0 is the ancilla, compare qubits 1 and 2; // both inputs get the same tilt, so the ancilla should come back as 0; RY 1 0.3; RY 2 0.3; H 0; CSWAP [1,2,0]; H 14✓100%✓100%✗66%✗66%✗66%✓100%✓100%✓97%✗70%
The same three-line pattern (RY 0.2 on one wire, CZ to the next wire, RY -0.2 on that next wire) repeats three times. Pull it into a function named couple that takes the two wires, and call it three times. It must do exactly what it does now.starting from // coupling chain; RY 0 0.2; CZ [0,1]; RY 1 -0.2; RY 1 0.2; CZ [1,2]; RY 2 -0.2; RY 2 0.2; CZ [2,3]; RY 3 -0.24✓100%✓100%✓100%✓100%✗0%✓100%✗66%✗50%✗16%
this is literally the same 2 lines pasted five times in a row, i hate it. turn it into one loop that does exactly the same thingstarting from H (0,1); RX 0 0.1; CP(0.25) [0,1]; RX 0 0.1; CP(0.25) [0,1]; RX 0 0.1; CP(0.25) [0,1]; RX 0 0.1; CP(0.25) [0,1]; RX 0 0.1; CP(0.25) [0,1]4✓100%✓100%✓100%✗21%✗56%✓100%✓100%✗53%✗53%
After the X on qubit 3, append the exact inverse of the block between the two "--- encode" marker comments, so that block is undone at the end. The block itself stays where it is.starting from // --- encode start; H 0; CX [0,1]; T 1; RY 2 0.3; CX [1,2]; // --- encode end; X 35✓100%✓100%✓100%✗32%✗0%✓100%✓100%✗38%✗32%
Right where my cursor is, write the phase oracle that flips the sign of |110> only (qubit 0 is the rightmost bit). Use X gates around a CZ.starting from // Grover search on 3 qubits, two rounds; H (0..2); LOOP 2 {; ; // diffuser; H (0..2); X (0..2); CZ [0,1,2]; X (0..2); H (0..2); }5✓100%✓100%✓100%✗9%✗9%✓100%✓100%✗9%✗9%
Replace the highlighted lines with their inverse (reverse order, every gate daggered) and leave every other line exactly as it is.starting from // state prep; H 0; S 0; RX 1 0.2; CX [0,1]; T 1; RY 2 0.15; CX [1,2]5✓100%✓100%✓100%✓100%✗0%✗11%✗11%✗11%✗8%
take back just my most recent change, and after that set the RY on qubit 0 to 0.45 (whatever value its got right now)starting from // biased coin pair; RY 0 0.3; CX [0,1]; RZ 1 0.254✓100%✓100%✓100%✓100%✗11%✓100%✗11%✗12%✗22%
This will not build, and even the parts that would are off from the comments. Fix every problem so the program does exactly what its comments describe, keeping all the comments and the final measurement.starting from // GHZ chain on 4 qubits, then read out; // seed on qubit 0; H 0; // entangling ladder 0-1, 1-2, 2-3; k = 0; LOOP k < 2 {; CNOT [k, k+1]; k++; }; // tilt the last qubit by 30 degrees; RY 3 30; // quarter-turn phase between the first pair; CP(0.5) [0,1]; MEASURE [0,1,2,3]5✗63%✓100%✓100%✗58%✗0%✓100%✓100%✗58%✗56%
Create a variable n = 5, then write one X line whose wire is picked with the ?: operator: wire 1 when n is odd, wire 2 when it is even.2✓100%✓100%✓100%✗0%✗0%✓100%✓100%✓100%✗1%
hadamards on qubits 2, 5, 8 and 11 but in ONE line w/ a stepped range (start.step.end), not a list and not 4 lines3✓100%✓100%✓100%✗31%✗71%✓100%✓100%✓100%✓100%
Switch this file's gate scheduling setting to never, then put H on qubit 0 and X on qubit 1.2✓100%✓100%✓100%✗50%✗50%✓100%✓100%✓100%✗5%
Define a parametric two-qubit gate RXX(t) from its matrix, exp(-i·t/2·X⊗X): cos(t/2) on the diagonal and -i·sin(t/2) on the anti-diagonal. Then apply RXX(0.5) to wires [0,1] and RXX(0.25) to wires [1,2].5✓100%✓100%✓100%✓100%✗0%✗33%✗22%✗22%✗0%
Make a three-wire gate called SPREAD [a,b,c] defined by a sequence: Hadamard on a, then CX from a to b and from a to c. Apply it to wires [4,1,2].3✓100%✓100%✓100%✓100%✗23%✗48%✗73%✗73%✗48%
Write a function hphase that accepts any number of wires (variadic) and puts H then T on each of them, then call it once as hphase(0, 2, 3).4✓100%✓100%✓100%✗19%✗0%✗28%✗28%✗41%✗53%
Use a while-style LOOP with a counter w that starts at 8: each pass puts H on wire w and then halves w, and the loop stops once w drops below 1.4✓100%✓100%✓100%✗15%✗42%✓100%✗67%✗83%✗17%
Keep two masks, a = 0b1100 and b = 0b1010, and flip exactly the qubits where they differ, with a single X line over tolist of their XOR.3✓100%✓100%✓100%✓100%✗0%✗42%✗14%✗14%✗0%
Start with H on qubit 1. Then an outer LOOP of 3 passes; in each pass an inner LOOP applies RX by 0.125 to qubit 0 twice, and after the inner loop comes a CZ between qubits 0 and 1.3✓100%✓100%✓100%✗0%✗61%✓100%✓100%✗47%✗21%
Write a function kick with two parameters, a wire q that defaults to 2 and an angle a that defaults to 0.5, which applies RX by a to q and then S to q. Call it once relying on both defaults and once on wire 0 with the default angle.4✓100%✓100%✓100%✓100%✗0%✗75%✗45%✗58%✗58%
Set this file's code angle unit to degrees, then with bare numbers (no suffixes) rotate qubit 0 by RY 60 and, after a Hadamard on qubit 1, turn qubit 1 by RZ -45.3✓100%✓100%✓100%✗37%✗37%✗73%✗75%✗75%✗48%
can u switch the angles to radians for this file and then do an RX of exactly 1 radian on qubit 2, written as just the number 1 with no unit3✓100%✓100%✗75%✗46%✗46%✗75%✗75%✗75%✗75%
Box the two lines that build the Bell pair in an annotation that reads "Bell pair" with the id bp, and name wire 0 "Alice" with a wire label. The gates themselves stay unchanged.starting from H 0; CX [0,1]; SWAP [1,2]; CZ [0,2]4✓100%✓100%✓100%✗62%✗50%✗50%✗50%✗4%✗4%
Create a project file lib/pairs.qubi that holds a function pairup(int a, int b) making a Bell pair (H, then CX), then make the main file include it and call pairup on (0,1) and on (2,3).5✗75%✓100%✗34%✗9%✗0%✗34%✗34%✗34%✗25%
move the mark5 function out of main into its own file lib/oracle.qubi and #include that from main instead, so main just has the include, the H line and the call. circuit has to behave exactly the samestarting from // my oracle for |101>; function mark5() {; X 1; CZ [0,1,2]; X 1; }; H (0..2); mark5()5✓100%✓100%✓100%✓100%✗0%✗40%✗46%✗57%✗46%
after the H on 0 and CX 0->1, add a sweep variable called pauli that goes through the gates X, Y and Z (in that order) and apply it to qubit 1starting from H 0; CX [0,1]3✓100%✓100%✓100%✗41%✗41%✓100%✗66%✗66%✗8%
loop a counter i from 0 to 5 using a while style LOOP. when i mod 3 is 0 put X on wire i, when its 1 put H on wire i, otherwise nothing5✓100%✓100%✓100%✗7%✗33%✓100%✓100%✗58%✗8%
Store the wires 1, 4 and 6 in a list variable called targets, apply H to all of them in one line through that variable, then a CX from the list's first element to its last by indexing the list (no hardcoded wire numbers in the gate lines).4✓100%✓100%✓100%✗87%✗31%✓100%✓100%✗44%✗44%
Write a function gray(bitstring n) that flips exactly the qubits set in the Gray code of n, computed inside the function as n XOR (n shifted right by one), and call it with 0b1101.4✗50%✗50%✗50%✗50%✗0%✗50%✗37%✗37%✗0%
Write a custom two-qubit gate named CPH4 from its matrix: the identity except a phase of i on |11>. Then apply H to qubits 0 and 1 and your gate on [0,1].4✓100%✓100%✓100%✓100%✗0%✗42%✗0%✗42%✗42%
Define a one-qubit parametric gate ZYZ(a, b, c) as the sequence RZ by a, then RY by b, then RZ by c on its wire. Use it as ZYZ(0.5, 0.25, 0.5) on qubit 0 and ZYZ(0, 0.5, 1) on qubit 1.5✗42%✗42%✗48%✗42%✗0%✗42%✗28%✗28%✗57%
Write a function parityflip(bitstring s, int target) that works out with a classical counter whether s has an odd number of 1 bits, and applies X to target only in that case. Call it as parityflip(0b1011, 0) and parityflip(0b0110, 1).5✓100%✓100%✓100%✓100%✗0%✓100%✗33%✗55%✗11%
Write function unladder(int lo, int hi) with a counting-down while loop that applies CX [k+1, k] for k from hi-1 down to lo. Put H on qubit 4 and call unladder(0, 4), so the GHZ spreads from wire 4 down to wire 0.4✓100%✓100%✓100%✓100%✗0%✗71%✗42%✗57%✗57%
With the file's angle unit set to degrees, write RY on qubit 0 by π/3 radians using a radian suffix, and RX on qubit 1 by a quarter of π using the pirad suffix.4✓100%✗87%✓100%✗31%✗35%✗72%✓100%✗75%✗17%
Put the three angles 0.1, 0.2 and 0.3 in a list variable called angles and use a while-style loop over its length to apply RY by angles[i] to wire i.3✓100%✓100%✓100%✗34%✗63%✓100%✓100%✗88%✗88%
I'm about to put the simulator up on a projector in a bright lecture hall. Switch the website's colour theme to light.1✓100%✓100%✓100%✓100%✓100%✗0%✗0%✗0%✗0%
Put my cursor on line 11, that is the CZ I keep getting wrong.starting from // three-qubit cluster, then rotate; H 0; H 1; H 2; CZ [0,1]; CZ [1,2]; RX 0 0.25; RX 1 0.25; RX 2 0.25; // second layer; CZ [0,2]; RY 1 0.5; MEASURE (0..2)1✓100%✓100%✗0%✗0%✗0%✗0%✗0%✗0%✗0%
gates r tiny on my 4k monitor, can u blow the circuit builder up to 150 percent zoom1✓100%✓100%✓100%✓100%✓100%✓100%✓100%✓100%✓100%
next to my 10 batches fill B2 thru B11 w/ rng seeds, first one is 1000 and each one 7 more then the one above it2✓100%✓100%✓100%✗25%✗25%✓100%✓100%✓100%✗18%
I don't need the Scratch tab in my lab book any more, delete it. The Data and Summary tabs must stay exactly as they are.2✓100%✓100%✓100%✓100%✗0%✗33%✗33%✓100%✗33%
The 'Questions?' slide ended up second in my deck by accident. Move it so it is the last slide; everything else keeps its order.2✓100%✓100%✓100%✓100%✗33%✗33%✗66%✗0%✗33%
stick a bloch sphere clip at the end of my spin precession video, make it last 6 secs2✓100%✓100%✓100%✓100%✗0%✗0%✗0%✗0%✗0%
Before class starts: switch on step-by-step mode in the circuit builder, and make it show numbers with 3 decimal places.2✓100%✓100%✓100%✗50%✗50%✓100%✓100%✓100%✗0%
Select just the three statements inside the LOOP braces, not the braces themselves, so I can copy them.starting from // prep; H (0..2); LOOP 4 {; RZ 0 0.125; CX [0,1]; CX [1,2]; }; MEASURE (0..2)2✓100%✓100%✗0%✗0%✗0%✗0%✗0%✗0%✗0%
Give this project 10 qubits in total, but only show the first 6 wires in the builder.2✓100%✓100%✓100%✓100%✗0%✓100%✓100%✓100%✗0%
I want to read off the complex amplitudes of this 3-qubit circuit. Open the analysis panel on the state vector display.starting from H 0; T 0; CX [0,1]; RY 2 0.32✓100%✓100%✓100%✓100%✗0%✓100%✓100%✓100%✗50%
Order the readout table by probability from highest to lowest. The header row has to stay on top.3✓100%✓100%✓100%✓100%✗0%✓100%✓100%✗75%✗41%
Delete the chart called 'Old fit' on the Raw sheet. The 'New fit' chart on the Fit sheet stays.3✓100%✓100%✓100%✗45%✗0%✗50%✗50%✗50%✗0%
Duplicate the Run 1 slide, then turn the copy into 'Run 2' with its single bullet reading P(0) = 0.38. Run 1 itself must not change.3✗25%✗25%✓100%✗25%✗25%✓100%✓100%✓100%✗25%
Remove slide 3 and slide 5 from this deck (the draft notes and the old figure).3✓100%✓100%✓100%✓100%✗0%✗50%✗50%✗0%✗0%
Create a project file lib/diffuse3.qubi holding the 3-qubit Grover diffusion operator as plain gate lines on qubits 0, 1 and 2. Leave main.qubi as it is.starting from H (0..2)3✓100%✓100%✗18%✓100%✗0%✗0%✗0%✗0%✗0%
In B6 write a formula for the ZZ expectation value from these four probabilities (plus for 00 and 11, minus for 01 and 10), and put the label <ZZ> in A6.3✓100%✓100%✓100%✗56%✗40%✓100%✓100%✓100%✗20%
In my circuit video, make the opening scene last exactly 2 seconds and the third scene 8.5 seconds. Don't touch the other scenes.starting from H 0; CX [0,1]3✓100%✓100%✓100%✓100%✗0%✗33%✗0%✗33%✗0%
Fill A2:A9 with the angles 0, 45, 90 and so on up to 315 degrees, and put formulas in B2:B9 giving the probability of measuring 1 after an RY by that angle on |0>.3✓100%✗50%✗50%✗0%✗0%✓100%✗50%✓100%✗0%
for the journal club deck make the slides themselves use the light look but the website stays dark, my eyes cant take light mode while editing3✓100%✓100%✗33%✓100%✗33%✗33%✗33%✗33%✗33%
Make a copy of lib/ansatz.qubi called ansatz_v2.qubi in the same folder, and in the copy only, change the RY angle from 0.25 to 0.5.3✗87%✗87%✗25%✗78%✗0%✗25%✗22%✗22%✗25%
open up lib/teleport.qubi in the editor pls and put the cursor on line 6 where the bell measurement startsstarting from H 0; CX [0,1]; X 2; H 2; Z 1; S 0; T 23✓100%✓100%✓100%✓100%✗0%✗0%✗0%✗0%✗0%
Tidy the project files: move tmp/try1.qubi and lib/grover_old.qubi into a folder called archive, then rename lib/grover.qubi to search.qubi (same folder, same contents).3✓100%✓100%✓100%✓100%✗0%✗0%✗0%✗0%✗0%
that bar chart i made is ugly, make it a doughnut and call it Outcome split, and while ur at it rename the sheet to Shots3✓100%✓100%✓100%✗0%✗0%✓100%✓100%✓100%✗0%
Sort the five qubit rows by fidelity, best first, but the Mean row has to stay as the last row and the header on top.4✓100%✓100%✓100%✓100%✗0%✓100%✓100%✗88%✗30%
Reorder my Shor deck to: the title slide, Period finding, Order finding, Modular exponentiation, Classical post-processing, Thanks. Do not add or delete anything.4✗43%✗62%✗25%✗0%✗0%✗25%✗75%✓100%✗25%
For the three unentangled qubits in my editor, make a new spreadsheet with headers Qubit, X, Y, Z in A1:D1 and one row per qubit (0, 1, 2 in A2:A4) holding that qubit's Bloch vector components, to 4 decimals. Then add a radar chart of A1:D4 titled 'Bloch components'.starting from RY 0 0.5; H 1; S 1; RY 2 0.33333333334✓100%✓100%✓100%✗51%✗0%✓100%✓100%✗61%✗14%
At the end of this circuit video, add a 4-second results clip whose text says 'Only 000 and 111 appear', and make the very first scene 3 seconds long.starting from H 0; CX [0,1]; CX [1,2]4✓100%✓100%✗0%✗0%✗0%✗0%✗0%✗0%✗0%
First make a spreadsheet of this circuit as it is now, and only after that change the RY angle on qubit 0 from 0.3 to 0.7 (units of pi).starting from RY 0 0.3; CX [0,1]3✓100%✓100%✓100%✓100%✓100%✓100%✓100%✓100%✗27%
need 9 qubits on the register, all 9 showing, then a GHZ across just the even wires 0 2 4 6 8, odd ones stay in |0>3✗66%✗44%✗44%✗66%✗33%✓100%✓100%✗44%✗33%
Run Grover on 3 qubits marking 011 and 110, with the right number of iterations written out as gates (no library call). Then fill a sheet: headers State and Probability in row 1, each of the 8 basis states in A2:A9 with its exact probability in B2:B9, and chart A1:B9 as a bar chart.4✓100%✓100%✓100%✗64%✗64%✗67%✓100%✗33%✗21%
undo the last two edits to my code, then build a slide deck from the circuit once its back to how it wasstarting from H 0; CX [0,1]; RZ 1 0.254✓100%✓100%✓100%✗0%✗25%✗25%✗25%✗25%✗0%
Put a phase oracle that flips the sign of |101> (qubit 0 is the rightmost bit) into a project file lib/mark101.qubi as plain gate lines. Then write main.qubi so it #includes that file between an H on all three qubits and a single round of the Grover diffuser.4✓100%✓100%✗20%✗18%✗20%✗28%✗20%✗28%✗28%
Fill in the real P(1) of qubit 0 on the 'Qubit 0' slide (4 decimals), then duplicate that slide, rename the copy 'Qubit 1' and give it qubit 1's P(1) instead.starting from RY 0 0.4; RY 1 0.74✓100%✓100%✗33%✗0%✗33%✗33%✗33%✗0%✗0%
make a new qubi file called minus_three, in it put qubits 0 1 and 2 all in the |-> state, then go back to main.qubi and switch step by step onstarting from H 04✓100%✓100%✗50%✗25%✗25%✗75%✗25%✗31%✗0%
sort these counts biggest first (header stays put), then bar chart just the header + top three rows, title it Top three, and put the total of all the counts in D1 as a formula4✗48%✗48%✗48%✗39%✗13%✗48%✗48%✗73%✗5%
Prepare qubit 0 with RY by 0.4 (units of pi) and teleport it to qubit 2, using qubit 1 as the Bell partner and doing the classical corrections as controlled gates (no measurement). Then make a slide deck with a bullet slide titled 'Teleportation check' whose bullet gives P(qubit 2 = 1) to 4 decimals.4✓100%✓100%✗72%✓100%✗39%✗72%✗70%✗44%✗58%
put qubit 0 in (|0>+i|1>)/√2 and qubit 1 in |->, open the bloch spheres for it, and then light theme + 125% zoom please4✓100%✓100%✓100%✗54%✗74%✗80%✗80%✗44%✗14%
Delete the Old sheet, rename the Draft sheet to Final, then chart Final's A1:B4 as a doughnut titled Shares.4✓100%✓100%✓100%✓100%✗0%✗75%✗75%✗75%✗0%
Wrap the lines I have selected in a loop that runs 3 times, then show me the probabilities view.starting from H 0; H 1; RZ 0 0.25; CX [0,1]; H 0; H 14✓100%✓100%✓100%✗50%✗75%✗75%✗75%✗75%✗55%
Make a slide deck from this circuit, delete its 'Bloch Vectors' slide, move the 'Findings' slide so it is slide 2, and switch the deck to the light appearance.starting from H 0; CX [0,1]5✗25%✗25%✗0%✗0%✗0%✗0%✗0%✗0%✗0%
Estimate the phase of P(0.625 pi) acting on |1>: use 4 counting qubits 0..3 (qubit 0 least significant) and put the eigenstate on qubit 4, no measurement. Then in a sheet write the counting-register value you expect to read, as a decimal integer, in A1, and the eigenvalue angle it gives in degrees in B1.5✓100%✓100%✓100%✗8%✗10%✓100%✓100%✗16%✗0%
Build RY by 0.3 on qubit 0 and RY by 0.6 on qubit 1 (units of pi), followed by a CX from qubit 0 to qubit 1. Make a new spreadsheet named Report with headers State and Probability, the basis states 00, 01, 10, 11 in A2:A5 and their exact probabilities (4 decimals) in B2:B5, plus a pie chart of A1:B5 titled 'Report pie'. Finally start a slide deck called Report whose second slide, 'Most likely', names the most likely outcome and its probability.5✗50%✗75%✗75%✗50%✗45%✗75%✗75%✗14%✗14%
On 4 qubits, search for |1001> with Grover written as gates inside a LOOP running the optimal number of iterations. Put that number in A1 of a sheet and the resulting success probability (4 decimals) in B1, then open the probabilities view.5✓100%✓100%✓100%✗50%✗33%✗66%✗50%✗37%✗50%
save the circuit thats in the editor right now as lib/v1.qubi, then in main change the RY on qubit 1 from 0.6 to 0.2 and save that version as lib/v2.qubi too, and finally put P(111) for v1 in A1 and for v2 in B1 of a sheet, 4 decimalsstarting from RY 0 0.4; RY 1 0.6; CX [0,2]5✓100%✓100%✓100%✗20%✗20%✗45%✗60%✗9%✗7%
Build the 2-qubit state whose measurement probabilities are the ones in my Target sheet, with all amplitudes real and non-negative. Then fill C2:C5 with formulas giving the amplitude of each state from its probability.5✓100%✓100%✓100%✗51%✗51%✓100%✗55%✗15%✗15%
Make a 4-qubit GHZ state, create a video from the circuit, set its last scene to 6 seconds, and then add a 3-second Bloch clip after it.5✗80%✗80%✗40%✗36%✗36%✗40%✗40%✗40%✗20%
Undo my last three edits, redo just one of them, then put the probabilities of the resulting circuit in a new sheet: headers State and Probability, one row per outcome that has non-zero probability.starting from H 0; CX [0,1]; CX [1,2]5✗66%✗66%✗0%✗0%✗16%✗0%✗16%✗15%✗0%
Build a swap test with qubit 0 as the ancilla comparing qubit 1 in RY(0.4)|0> and qubit 2 in RY(0.8)|0> (angles in units of pi): H, controlled swap, H, no measurement. Write P(ancilla = 0) in A1 to 4 decimals and the overlap |<a|b>|^2 it implies in B1, then show the probabilities view.5✓100%✓100%✓100%✗27%✗27%✓100%✓100%✗48%✗44%
ok so: phi minus bell pair on qubits 2 and 3 (0 and 1 stay |0>), then a sheet called Bell with State/Probability headers and the two outcomes that can happen with their probabilities, then a deck called Bell talk with one bullet slide 'Result' listing those same two probabilities, and finally switch the site to light theme5✗80%✗66%✗83%✗25%✗33%✗63%✗63%✗63%✗12%

✓ passed (97% or more) or ✗ not, with the task's score under it. Difficulty runs from 1 (trivial) to 5 (expert). Hover over or focus a category bar to see its shares.

QubiBench v2
  • Pauli 2.0 Deep80.0%
  • Pauli 2.0 Medium73.5%
  • Pauli 2.0 Nano48.6%
  • Pauli 1.024.9%
MeasurePauli 2.0Pauli 1.0
DeepMediumNano
80.0%73.5%48.6%24.9%
Pass rateTasks scored 97% or more73.5%62.5%24.5%4.5%
Median time to complete a request 25.2 s10.9 s3.0 s< 0.1 s
Neurons per requestAverage Workers AI neurons for a request 1,17222626332.1
Average cost for a request $0.0193$0.0037$0.0043$0.00053
QubiBench v1

The first version: 50 requests in four suites, each passed or failed.

MeasurePauli 2.0Pauli 1.0
DeepMediumNano
Circuits16 tasks15/1615/1613/1610/16
Code edits10 tasks10/1010/109/107/10
Simulator apps13 tasks13/1313/1312/134/13
Reasoning11 tasks10/119/113/113/11
PassedAll 50 tasks96.0%94.0%74.0%48.0%
Time per requestMedian time to complete a request 5.9 s4.4 s2.0 s< 0.1 s
Neurons per requestAverage Workers AI neurons for a request 57816418248.5
Cost per requestAverage cost for a request $0.0095$0.0027$0.0030$0.00080

Pauli 2.0 Deep and Medium passed nearly all of v1; v2 followed with four times as many tasks, partial credit and difficulty weights. Download the v1 results (JSON).

Costs are Cloudflare Workers AI usage, measured in neurons. Cloudflare charges $0.011 per 1,000 neurons; QubiAI charges 1.5× that, $0.0165 per 1,000 neurons, which is what Cost per request shows. Times are the request to the planner; carrying out the plan in the simulator is not included.

Qubibyte Companion App

Run Fermi 1.1 on your own computer, for free. The Qubibyte desktop app runs Fermi locally, and the simulator and the Virtual Assistant use it once you pair the site with the app. Your requests are answered on your computer.

  • Fermi built in. The app comes with Fermi 1.1, its default, and Fermi 1.0. On first launch it downloads the Llama 3.2 3B base model they run on, about 2 GB, once; updates keep it.
  • Both versions. Switch between Fermi 1.1 and Fermi 1.0 in the app at any time, or pick one in the site's model menu and the app switches to it. Both stay installed.
  • On your graphics card, or your processor. It uses your GPU when it can and falls back to the CPU when it cannot.
  • Pair once. In the simulator or the Virtual Assistant, choose Fermi, set Environment to Local, and type the six-digit code the app shows.
  • Choose per request. Switch between Fermi in the cloud and Fermi on your computer at any time from the model menu.
Download for Windows Version 0.3.1 · Windows 10 and 11, 64-bit · 105 MB

Only want the model? Download the Fermi 1.1 adapter (LoRA, GGUF, 45 MB) or the Fermi 1.0 adapter (LoRA, GGUF, 45 MB) to use with Llama 3.2 3B Instruct in llama.cpp. The app already includes both. Built with Llama: Fermi 1.1 and Fermi 1.0 are derivatives of Llama 3.2 and are distributed under the Llama 3.2 Community License.

Fermi 1.1

Fermi is Qubibyte's own model. We trained it ourselves on simulator plans that the Qubi engine verified, so what it learned is what actually builds the right circuit. Fermi 1.1 learned from about 61,500 of them, nearly five times as many as 1.0. It is small and fast, and it can run on your own computer.

Cost
$0When run locally
Training
61,500Engine-verified examples
Simulator actions
85 of 85And only those
  • In the cloud, or on your computer. Fermi runs in the cloud like every other model, or locally with the Qubibyte desktop app, where it is free.
  • All of the simulator. Fermi 1.1 learned states, algorithms, editing and fixing code, questions, the apps, sheets, slides, videos, files, the lab, the editor, the Qubi language and synthesis. Its answers are held to a strict format, so it only uses actions the simulator has.
  • It builds; a chat model writes. In the Virtual Assistant, a chat model writes the reply and Fermi builds the circuits, which the engine checks before you see them.
  • On QubiBench. On v4, Fermi 1.1 scores 52.0% in the cloud and 45.5% on its own on a laptop, against Fermi 1.0's 47.5% and 25.5%. On v3, Fermi 1.0 scores 50.0% in the cloud, where Pauli 2.1 Nano answers when Fermi's plan fails the engine's checks, and 28.6% on its own on a laptop. See the results.
  • Fermi 1.0 is still here. It stays available in the cloud, in the desktop app and from the API.

Fermi 1.1's formal name is Llama-Fermi 1.1, and Fermi 1.0's is Llama-Fermi 1.0. Both are fine-tunes of Meta's Llama 3.2 3B Instruct, and are built with Llama. Llama 3.2 is licensed under the Llama 3.2 Community License, Copyright © Meta Platforms, Inc. All Rights Reserved. Use of Fermi is subject to the Llama 3.2 Acceptable Use Policy.

Pauli 2.1

Pauli thinks as hard as you ask it to. Pauli 2.0 and 2.1 both come in three effort levels: Nano, Medium and Deep. Every level reads the same instructions, the full reference of what the simulator can do. What changes is the model behind it and how long it may reason before it answers.

Feature Pauli 2.0Oct 6, 2026 Pauli 2.1Oct 9, 2026
Checks its own code Each step is checked before it runs Runs its code through the real Qubi engine and repairs it before you see it
Worked examples The same reference for every request Picks the worked examples that fit each request
Simulator actions 42 44 more: undo and redo, go to line, editing slides and spreadsheets, files in storage, videos, preparing states and others
Distributions – Uses StatePreparation
Known algorithms – Library calls such as Grover(0b1101), QFT and GHZ
QubiBench v3: 41.5%, 65.5%, 72.2% (Nano, Medium, Deep) v3: 78.6%, 90.7%, 91.6% (Nano, Medium, Deep)

Pauli 2.0 runs on Cloudflare Workers AI: Nano on Qwen2.5-Coder 32B, Medium on OpenAI gpt-oss-120b and Deep on Kimi K2.7 Code, each with a backup model asked only when the main model's answer cannot be used. Pauli 1.0 runs Qwen2.5-Coder 32B with Llama 3.3 70B as its backup, and keeps its own recipes.

API and Pricing

Choose a "model" and an "effort"

Model model effort Who
Pauli 2.1pauli-2.1nano medium deepEveryone
Fermi 1.1fermi-1.1NoneEveryone
Fermi 1.0fermi-1.0NoneEveryone
Pauli 2.0pauli-2.0nano medium deepEveryone
Pauli 1.0pauli-1.0NoneEveryone

Usage is measured in Workers AI neurons. Cloudflare charges $0.011 per 1,000 neurons, and QubiAI charges 1.5× that: $0.0165 per 1,000 neurons, at least $0.0001 a request. It comes from your plan's monthly allowance: $0.25 on Free, $5 on Plus and $20 on Pro. Requests answered by a recipe cost nothing, and Fermi is free when it runs on your own computer.

POST /v1/qubiai
{
  "prompt": "grover search for 101",
  "model":  "pauli-2.1",
  "effort": "deep"
}

History

  1. Fermi 1.1

    Trained on about 61,500 engine-verified examples, nearly five times as many as 1.0, covering all 85 of the simulator's actions, and held to a strict format so it only uses actions the simulator has. It runs in the cloud and in the Qubibyte desktop app 0.3.0.

  2. Pauli 2.1

    Pauli now checks its own code with the real Qubi engine and repairs it, chooses worked examples for each request, and can take 44 more simulator actions. Pauli 2.1 Nano is the new default.

Questions

Which model should I use?

Start with Pauli 2.1 Nano, the default: it is fast, costs the least and handles most everyday requests. Move to Medium for requests with several parts or that need working out, and to Deep for the hardest ones. Fermi 1.1 is small and quick, and free when it runs on your own computer. You can change the model at any time from the menu beside the QubiAI title in the simulator.

Can a model run on my own computer?

Fermi can. With the Qubibyte desktop app, Fermi 1.1 and Fermi 1.0 run on your computer, for free, and the simulator and the Virtual Assistant can use them once you pair the site with the app.

Do the models work in the Virtual Assistant?

Yes. Open the chat button in the corner of most pages. A chat model writes the reply, and the model you chose builds any circuit, which the engine checks before you see it. Each answer is charged to your usage like a QubiAI request.

How is QubiAI charged?

By the Workers AI neurons each request uses. Cloudflare charges $0.011 per 1,000 neurons, and QubiAI charges 1.5× that: $0.0165 per 1,000 neurons, at least $0.0001 a request. It comes from your plan's monthly allowance: $0.25 on Free, $5 on Plus and $20 on Pro. Requests answered by a recipe cost nothing, and so does Fermi on your own computer. The simulator shows an estimate as you type.

Can I use QubiAI from the API?

Yes: POST /v1/qubiai with a "model" and, for Pauli 2.x, an "effort". The API reference has the details.

Do the models see my files?

Only what a request needs: the code in the open editor, its errors, and short summaries of the open sheet, deck or video. Requests are kept in your QubiAI history so you can see what each one did and cost. The privacy policy has the details.

What does "Built with Llama" mean?

Fermi 1.1 and Fermi 1.0, formally Llama-Fermi 1.1 and Llama-Fermi 1.0, start from Meta's Llama 3.2 3B Instruct, which Qubibyte then trained further on verified simulator plans. Their use is covered by the Llama 3.2 Community License and Acceptable Use Policy.

Why are these models called Pauli and Fermi?

Pauli is named after Wolfgang Pauli, for his work in quantum mechanics. Fermi is named after Enrico Fermi, for his work in nuclear physics.

Describe a circuit. Watch it get built.

Open the simulator