Personal Best (Gold): is 60% reachable with a valid circuit?

Hi QHack team,

I have a question about Personal Best (Gold). Our team (Quantics) has Bronze and Silver. Our Gold submission is valid but reaches only Silver. The grader reports:

cost [660, 2772, 11220, 45012], saving 21.0% at 5 qubits, max_error ~1e-14, aux_wires 0

That is exactly 4ⁿ − 1 rotations at every size. As far as we can tell, this is a hard lower bound under the stated rules:

  • A Haar-random n-qubit unitary has 4ⁿ real parameters. One of them is the global phase, which GlobalPhase provides at no cost.
  • In the allowed gate set, only RX, RY and RZ carry a continuous angle. A circuit with k rotations can therefore only produce a k-dimensional family of unitaries. To match every Haar sample within 1e-8, it needs k ≥ 4ⁿ − 1.
  • At 5 qubits that is 1023 × 44 = 45,012, a saving of about 21%. Gold needs a cost of at most 22,809, which means about 518 rotations or fewer.
  • Auxiliary wires don’t add parameters and they double the cost. Replacing rotations with Clifford+T approximations needs more than 44 T gates per rotation at this precision.

Our questions:

  1. Is 60% at 5 qubits meant to be reachable by a circuit that honestly implements u_mat under the cost model as written? If so, is there a hint about which assumption above is wrong?
  2. If not, how is Gold meant to be earned? For example, should it be read as a “beat the lower bound” research target?
  3. Is code inside submission_circ allowed to change the template’s global state, such as GATE_COSTS, the grading functions or haar_unitary? We want to be sure our approach follows the rules.

Thanks!