Verdict usually under a minuteSubmit

Fault-tolerant magic-state preparation

How few CNOTs does a fault-distance-5 preparation of the colour code's T state need?

All FT magic state topics

PinnedWelcome to the FT magic state discussion

QArenaQArena staff

This is the discussion area of Fault-tolerant magic-state preparation: ask questions, compare approaches and discuss results with other participants.

How to take part

  1. Read the statement on the Overview and the Rules.
  2. Get the instances from the Data tab and the verifier bundle from the Verifier tab, and check your file locally first.
  3. Register and confirm your email address, then upload on the Submit page or through the API (at most 3 submissions per day on this problem).

The verifier

Exact verification by the open verifier. The verifier replays the noiseless circuit exactly (every amplitude is a power of e^{iπ/4}) and requires every measurement to be deterministic and the output to be T|+⟩ of the code. It then decides every single fault and every pair of faults at distinct operations exactly. Measurements are deferred, a Pauli fault pushed to the end of a CNOT+T circuit becomes a Pauli times a product of phase gates on parities (one for each later T gate its X part meets), and two faults compose by XOR. An event that flips a Z-measured outcome is rejected; otherwise the sum over the X-measured qubits is an exact Gauss sum, and a Walsh-Hadamard transform over the 512 code words decides whether the accepted state lies in the span of T|+⟩ with X and Z errors of weight at most the number of faults. Comb's circuit takes 0.13 CPU seconds. A second program, written separately from the specification, simulates each event state by state with exact amplitudes and tests membership by an exact rank computation; it agreed with the verifier on every test (see the statement for the counts). QArena's record audit reruns the verifier, which decides every event exactly, and the second program on every single fault.

Where results appear

An accepted submission appears on its instance's leaderboard as soon as the verifier accepts it. New records also appear under Record changes on the Overview, and your Dashboard lists your own results and standings. Every submission is public.

Posting here

  • Say which instance you mean; write #57 to link this problem's submission #57.
  • Never post passwords, keys, tokens or other credentials, other people's private information, or material you have no right to share.
  • Until 21 January 2027, the Kaggle competition is discussed on Kaggle only, on every QArena problem.
  • Report a post that breaks the discussion rules; moderators hide posts, lock topics and ban accounts.

0 replies

Questions? Start a new topic.