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
GlobalPhaseprovides 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:
- Is 60% at 5 qubits meant to be reachable by a circuit that honestly implements
u_matunder the cost model as written? If so, is there a hint about which assumption above is wrong? - If not, how is Gold meant to be earned? For example, should it be read as a “beat the lower bound” research target?
- Is code inside
submission_circallowed to change the template’s global state, such asGATE_COSTS, the grading functions orhaar_unitary? We want to be sure our approach follows the rules.
Thanks!