{"id":"25f9ee53-4307-447e-9523-06cb8b20431f","arxiv_id":"2610.23832","paper_version":1,"verdict":"CONDITIONAL","confidence":"HIGH","novelty_score":4.0,"correctness_risk":"low","formal_verification":"none","parameter_count":0,"one_line_summary":"Kickmix circuits, composed of reversible classical gates, diagonal phases, and measurement-based uncomputation, enable fast fuzz testing that allows AI agents to discover improved compilations for three benchmark problems.","lead":"This paper presents a paradigm for using AI agents to optimize quantum circuits when bottleneck subroutines have classically verifiable structure. It releases the kickmix software package and defines three benchmarks for a Kaggle competition, inviting the community to find more efficient compilations for fusion simulation, optimization, and chemistry.","discovery_kind":"extension","skeptic_critique":{"model":"deepseek/deepseek-v4-flash","headline":"Fidelity guarantee (Eq. 3) requires test distribution |α_x|^2; Benchmarks I and III sample uniformly, so the bound does not directly certify fidelity for the target quantum states.","rationale":"The reader identified that the verifier must sample from |α_x|^2 (weakest assumption). The stress-tester agrees this is the most load-bearing concern. The reader's verdict (CONDITIONAL) already hinges on this condition. However, the stress-tester finds that the benchmarks as specified do not satisfy the condition, which further underscores the conditional nature. The concern does not change the verdict because the paper's central claim (the paradigm) is still valid in principle; the benchmarks simply need to be adjusted to match the distribution. The competition could address this, so the paper remains conditionally accepted. The stress-tester does not find any internal inconsistency or error in the derivation itself—only a gap between the stated requirement and its implementation in the benchmarks. Hence no change to the verdict is warranted.","tokens_in":32006,"tokens_out":6351,"duration_ms":59891,"concrete_test":"For Benchmark I, take the ground-state wavefunction of a hydrogen atom (a simple first-quantized state) and compute its position-squared weights |α_x|^2. Construct a modified reference circuit that flips the phase on the ≤ 1% of x with highest |α_x|^2, but is correct on all other x. Run the benchmark's uniform test (all x, 64 shots, tolerance 2^{-24}/√x). Show that the circuit passes (k=0) with high probability because errors on few high-weight inputs have negligible impact on the uniform failure rate. Then compute the actual trace distance between the ideal and implemented outputs of the original algorithm; compare to 2√ε_uniform. The bound is violated, demonstrating the gap.","verdict_should_be":"UNCHANGED","load_bearing_attack":"The paper derives a trace-distance bound 2√ε in Eq. (3) under the explicit requirement that test inputs be drawn from the amplitude-squared distribution |α_x|^2 of the algorithm's state (b51). This requirement is restated: \"This guarantee requires the verifier to sample test inputs from |α_x|^2, so each benchmark in Section III specifies this distribution.\" However, the benchmarks do not comply. Benchmark I (Section III A 3) tests every x∈[1,maxx] exactly with 64 shots each—uniform sampling, not the position wavefunction |α_x|^2 of the simulated electron dynamics, which is typically concentrated. Benchmark III (Section III C 4) verifies the Angle oracles by simulating 'every input in the selection register,' again uniform. Only Benchmark II correctly draws error vectors from the DQI amplitude distribution (Eq. 44). For Benchmarks I and III, the computed ε is a uniform average over inputs, not the weighted sum ∑|α_x|²·Pr[failure|x]. The bound therefore does not guarantee the claimed fidelity for the actual algorithm's superpositions. The paper acknowledges the condition but does not ensure that the benchmarks satisfy it, so the central certification paradigm is not rigorously demonstrated on two of the three benchmarks. The burden falls on the competition to check that each submission's test distribution matches the algorithm's use; as specified, it does not.","agreement_with_reader":"partial"},"referee_report":{"model":"deepseek/deepseek-v4-flash","summary":"The paper proposes a paradigm for using AI agents to compile quantum circuits when bottleneck subroutines belong to the 'kickmix' gate set (reversible classical gates, diagonal phases, and measurement-based uncomputation).  It derives a bound (Eq. 3) that the trace distance between the implemented and ideal output states is at most 2√ε, where ε is the circuit's failure rate on test inputs drawn from the algorithm's amplitude-squared distribution.  The paper describes a Fiat-Shamir-based non-interactive verification protocol and presents three benchmarks—inverse square root for Coulomb simulation, Reed–Solomon decoding for decoded quantum interferometry, and quantum lookup tables for chemistry simulation—that will seed a Kaggle competition.  For each benchmark it provides a reference kickmix circuit, a verification contract, and a cost score.","tokens_in":32349,"tokens_out":2324,"duration_ms":23054,"significance":"If the claimed verification protocol delivers the stated fidelity guarantees, it enables fast, scalable classical checking of approximate circuit compilations for the dominant subroutines in many fault-tolerant quantum algorithms.  This would allow AI agents to search the compilation space without human oversight, potentially accelerating quantum algorithm engineering significantly.  The three benchmarks target real and important applications (fusion simulation, optimization, quantum chemistry), so improvements found via the competition would have direct practical value.  However, the core theoretical tool (the fidelity bound from fuzz testing) was introduced in Ref. [13] and is not new here; the paper's main contribution is the detailed benchmark specifications and reference implementations.","major_comments":[{"comment":"The fidelity guarantee in Eq. (3) requires that test inputs be sampled from the algorithm's amplitude-squared distribution |α_x|^2 (explicitly stated at b51 and in the footnote).  Benchmark I (§III.A.3) tests every input x∈[1,maxx] uniformly with 64 shots each; Benchmark III (§III.C.4) verifies the Boolean oracles by simulating 'every input in the selection register,' again uniformly.  Only Benchmark II (§III.B.3) correctly draws errors from the DQI amplitude distribution (Eq. 44).  For Benchmarks I and III, the tested distribution is not |α_x|^2, so the bound in Eq. (3) does not certify the claimed trace-distance guarantee for the actual quantum states used by the algorithms.  The paper acknowledges the condition but does not ensure that the benchmarks satisfy it, nor does it argue that the uniform test distribution still provides a useful (e.g., worst-case) guarantee.  This must be resolved before the certification paradigm can be considered demonstrated on these benchmarks.","section":"§II.C, Eq. (3) and §III.A.3, §III.C.4","authors_acknowledge":"However, doing so requires care: one must check in each problem context that approximate correctness on sampled basis states guarantees high fidelity on the quantum states used by the algorithm.","authors_acknowledge_p":0.68},{"comment":"The verification of the DFTHC block-encoding (Benchmark III) is complex and mixes explicit kickmix verification (the angle oracles) with heuristic cost formulas for the Inner, Outer, and Givens rotation subroutines (§III.C.6, b482).  The overall score depends on these heuristics (Cout, Cin) which are not themselves verified.  While the paper states that only the angle oracles are optimized, the claim that 'the benchmark score still reflects the full algorithm' (end of §I) relies on these heuristics being accurate.  The paper should discuss the sensitivity of the score to errors in the heuristic cost models, or provide evidence that the heuristic costs dominate in a realistic fault-tolerant compilation.","section":"§III.C.3–6","authors_acknowledge":"Only theC ang,k(J)are obtained from explicitly optimized circuits;Cout andC in remain heuristic inputs.","authors_acknowledge_p":0.67},{"comment":"The angle oracles Anglek are defined to compute the XOR difference between consecutive batches of angles (Δϑ[k]_a).  The paper states that this 'eliminates a separate inter-batch uncomputation' (§III.C.6).  However, the circuit must still reverse the entire forward traversal (the description in §A.4 says each Anglek is called once in each direction).  The paper should clarify whether the reverse traversal also uses the XOR definition, and whether the self-inverse property of Anglek (stated in §III.C.6) holds under the batch-difference encoding when the same oracle is applied to a register that has already been overwritten.","section":"§III.C.6, Eq. (70)","authors_acknowledge":null,"authors_acknowledge_p":null}],"minor_comments":[{"comment":"The footnote states that phase tolerances add at most 2πτ to the bound, but this appears only as a brief note.  For completeness, consider deriving this term explicitly in the main text, or at least stating that it is added to the trace distance bound.","section":"§II.C, footnote [20]","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"The description of the polynomial evaluation (Horner form) and the bit manipulations for the inverse square root are quite detailed but could benefit from a diagram or pseudocode summarizing the data flow (QROM → coefficient registers → Horner steps → Newton-Raphson).","section":"§III.A.2, Appendix B3","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"The definition of the probability distribution over error weight w uses a tridiagonal matrix A.  While the reference to Ref. [16] is given, the paper could briefly note why this distribution arises (e.g., as the stationary distribution of a random walk on weights) to aid readers unfamiliar with the DQI framework.","section":"§III.B.3, Eq. (44)","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"The Clopper-Pearson bound is given for the case k=0.  For completeness, mention that when k>0 the bound can be computed via the regularized incomplete beta function, or reference a standard routine.","section":"§II.C, Eq. (4)","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"Several references (e.g., [9], [12], [13]) are cited for key constructions.  For a self-contained competition description, consider adding a short summary of the main ideas from these references, especially for the DQI decoder construction and the DFTHC block-encoding.","section":"General","authors_acknowledge":null,"authors_acknowledge_p":null}],"recommendation":"major_revision"},"author_rebuttal":null,"desk_editor":{"model":"deepseek/deepseek-v4-flash","letter":"This paper is a well-executed extension of the kickmix/fuzz-testing approach from Ref. [13] to three significant benchmarks: inverse square roots for Coulomb simulation, Reed–Solomon decoding for DQI, and QROM/Majorana rotations for chemistry. The main contributions are the kickmix C++20/Python package, the detailed reference implementations, and the Kaggle competition setup. The theoretical bound (Eq. 3) is restated cleanly, and the verification protocol using Fiat–Shamir is clearly described. Credit where due: the authors openly state the conditions for the fidelity guarantee and release reproducible code and circuit files.\n\nThe soft spot flagged by the stress test is real. The bound requires test inputs drawn from the algorithm’s amplitude-squared distribution |α_x|^2. Benchmark II (DQI) does this correctly (Eq. 44). But Benchmarks I and III test exhaustively over all classical inputs, which is uniform sampling—not |α_x|^2. For Benchmark I (inverse square root), the target algorithm’s position wavefunction is concentrated, not uniform; for Benchmark III, the QROM oracle addresses are used in coherent superpositions whose amplitudes are not uniform. The authors state the requirement at the end of Section II.C but do not ensure their own benchmarks satisfy it. This is a gap between the paper’s theoretical guarantee and its verification practice. That said, the gap is not fatal: the competition can fix it by specifying the correct distribution per benchmark, and the paper acknowledges that the verifier must check this. The authors should revise to clarify how the competition will enforce the distribution match, or else concede that the fidelity bound only applies to Benchmark II and that the other benchmarks rely on a weaker (uniform-average) guarantee.\n\nMinor point: the paper mentions internal AI improvements but provides no data. This is fine since the competition is the point, but it leaves the practical impact unvalidated.\n\nWho is this for? Researchers working on AI-driven quantum circuit optimization, especially those interested in concrete benchmarks and open test harnesses. The paper is clearly written and the artifacts are real. It deserves a serious referee; the main revision needed is to address the test-distribution discrepancy in Benchmarks I and III.","headline":"A solid engineering paper extending the kickmix+fuzz-testing framework to three new benchmarks, with detailed reference implementations and open software. The main vulnerability is that two of the three benchmarks do not sample test inputs from the required |α_x|^2 distribution, so the fidelity guarantee (Eq. 3) does not directly apply as written.","tokens_in":32886,"tokens_out":1816,"duration_ms":15750},"pith_extraction":{"msc":[],"pacs":[],"model":"deepseek/deepseek-v4-flash","headline":"Kickmix circuits let AI agents compile quantum subroutines with fast classical verification.","keywords":["quantum circuits","circuit compilation","kickmix circuits","fuzz testing","Fiat-Shamir heuristic","AI agents","quantum resource estimation","measurement-based uncomputation"],"falsifier":"Construct a kickmix circuit where an HMR gate acts on a qubit that is entangled but not a function of the remaining qubits (e.g., a leftover ancilla in a random state). Then run the fuzz test on classical inputs: the simulator will introduce random sign flips, causing a high failure rate even if the circuit is correct on coherent superpositions. Conversely, a circuit that passes the fuzz test but violates the distinctness assumption would also break the bound; such a circuit could be built by inserting an HMR on a qubit that is a constant (always |0>), which is allowed but trivial. The real test is whether the empirical failure rate ε from fuzz testing actually bounds the coherent error as claimed, which could be checked on small instances by full statevector simulation.","tokens_in":33485,"feed_emoji":"🧑‍🔬","tokens_out":1940,"duration_ms":15751,"temperature":0.7,"pith_summary":"This paper presents a paradigm for compiling fault-tolerant quantum circuits where the most costly subroutines are constrained to a restricted form called 'kickmix' circuits. Such circuits use only reversible classical gates, diagonal phase gates, and measurement-based uncomputation, allowing a classical simulator to run them on computational basis inputs in linear time. This enables a form of fuzz testing: by checking approximate correctness on random classical inputs, one can bound the error on coherent superpositions via a trace distance inequality. The authors provide an open-source simulator, a non-interactive verification protocol using the Fiat-Shamir heuristic, and three concrete benchmarks from fusion simulation, decoded quantum interferometry, and quantum chemistry. These benchmarks seed a Kaggle competition to challenge AI agents to find lower-cost compilations.","feed_headline":"Kickmix circuits enable AI-driven quantum compilation with classical checks","feed_subtitle":"Three benchmarks from fusion, optimization, and chemistry invite Kaggle competitors to find cheaper circuits.","key_machinery":"The key machinery is the 'kickmix' gate set and the associated trace distance bound (Equation 3). The kickmix gate set consists of reversible classical gates (X, CX, CCX, SWAP), diagonal phase gates (Z, CZ, CCZ, Z_POW, NEG), measurement and reset gates (HMR and R), and classical bit operations. Crucially, every gate maps computational basis states to a single computational basis state up to a scalar phase, so a classical simulator can track one bit per wire and an accumulated phase. The bound on coherent error relies on the assumption (stated by the authors) that each Kraus operator $V_r$ maps distinct inputs in the support of the target state to distinct outputs—a condition that holds when HMR and R gates act on qubits that are functions of other qubits (as in measurement-based uncomputation).","core_discovery":"The paper establishes that when critical subroutines in a quantum algorithm are built exclusively from reversible classical gates, diagonal phase operations, and measurement-based uncomputation (the 'kickmix' gate set), classical simulation on computational basis inputs is efficient. This makes it possible to test approximate correctness via random sampling, and the paper proves (Equation 3) that if the failure rate on the test distribution is ε, then the physical output state is within trace distance $2\\sqrt{\\varepsilon}$ of the ideal state. The paper further shows how to make this verification non-interactive and deterministic using the Fiat-Shamir heuristic (hashing the serialized circuit), enabling a public competition where AI agents optimize circuits without revealing their submission, and the verifier can certify quality without a secret test set.","pith_inferences":["The approach may generalize beyond the three benchmarks to any circuit whose dominant cost comes from subroutines that are 'classically verifiable' in the kickmix sense. Many existing resource estimates for factoring, chemistry, and optimization use such subroutines, so AI agents could potentially reduce those estimates further.","The reliance on the 'distinctness' assumption (each $V_r$ is injective on the support) is the main theoretical limitation. If a subroutine contains HMR gates on qubits that are not functions of the computation (e.g., discarded junk qubits), the bound no longer holds. Researchers designing new subroutines for this framework would need to ensure this condition is met, which may constrain algorithmic","The paper's suggestion of moving toward machine-checkable proofs (using Lean) for non-kickmix subroutines points to a possible next step: combining fast fuzz testing for kickmix parts with formal verification for parts that cannot be simulated classically. This could lead to AI-generated circuits with provable correctness across all problem sizes."],"forward_implications":["If the kickmix framework is adopted, optimizing dominant subroutines in fault-tolerant quantum algorithms can be automated via AI-guided search without requiring a quantum computer or full-state simulation.","The three benchmarks provide concrete targets: computing $1/\\sqrt{x}$ for Coulomb simulations, decoding Reed-Solomon codes for decoded quantum interferometry, and implementing quantum lookup tables and Majorana rotations for chemistry. Improvements found on these benchmarks directly reduce the resource estimates for the full algorithms.","The non-interactive verification protocol (circuit hash + salted pseudorandom test set) can be reused for any competition or collaborative optimization effort where trust is required, as it prevents participants from hard-coding outputs or grinding seeds.","The trace distance guarantee (Equation 3) makes the fuzz testing rigorous: a low empirical failure rate on classical inputs guarantees a proportionally small error on coherent superpositions, provided the verifier samples inputs from the distribution used by the algorithm."],"supporting_citations":[{"why":"Introduced the kickmix model and the Fiat-Shamir verification protocol for elliptic curve cryptography; this paper extends that prior work.","marker":"[13]"},{"why":"Provides the Trotter-based simulation of stopping power, including the inverse square root subroutine that becomes Benchmark I.","marker":"[9]"},{"why":"Describes the DQI algorithm with Reed-Solomon decoding (using kickmix circuits), which becomes Benchmark II.","marker":"[12]"},{"why":"Provides the DFTHC block-encoding for electronic structure, which forms the basis of Benchmark III.","marker":"[11]"},{"why":"Introduces the temporary-AND gate and measurement-based uncomputation (HMR), key components of the kickmix gate set.","marker":"[17]"},{"why":"Introduces the Decoded Quantum Interferometry algorithm and the Optimal Polynomial Intersection problem.","marker":"[16]"},{"why":"Qualtran framework; the kickmix simulator is built inside Qualtran.","marker":"[15]"},{"why":"Stim stimulator inspired the bit-packed design of kickmix for performance.","marker":"[19]"}],"fun_headline_variants":["AI agents exploit verifiable circuits for cheaper quantum compilation","Kickmix circuits let AI classically verify quantum compilations","Fuzz-testing quantum circuits enables efficient AI-driven compilation","Verifiable structure helps AI find more efficient quantum compilations","Classically checkable circuits unlock AI-optimized quantum compilation"],"cache_read_input_tokens":0,"weakest_assumption_plain":"The fidelity guarantee (Equation 3) requires that each Kraus operator $V_r$ is injective on the support of the target state, which holds only when HMR and R gates act on qubits that are functions of other qubits (as in measurement-based uncomputation). If a circuit discards a junk qubit without proper phase correction, the bound fails.","fun_headline_variants_meta":{"raw":{"variants":["AI agents exploit verifiable circuits for cheaper quantum compilation","Kickmix circuits let AI classically verify quantum compilations","Fuzz-testing quantum circuits enables efficient AI-driven compilation","Verifiable structure helps AI find more efficient quantum compilations","Classically checkable circuits unlock AI-optimized quantum compilation"]},"model":"deepseek/deepseek-v4-flash","effort":"low","cost_usd":0.000212,"raw_usage":{"cost":0.000211708,"is_byok":false,"cost_details":{"upstream_inference_cost":0.000211708,"upstream_inference_prompt_cost":0.000101388,"upstream_inference_completions_cost":0.00011032},"total_tokens":1323,"prompt_tokens":929,"completion_tokens":394,"prompt_tokens_details":{"audio_tokens":0,"video_tokens":0,"cached_tokens":256,"cache_write_tokens":0},"completion_tokens_details":{"audio_tokens":0,"image_tokens":0,"reasoning_tokens":309}},"tokens_in":929,"tokens_out":394,"cost_source":"openrouter_usage","duration_ms":4163,"image_pages":[],"temperature":1.0,"billed_attempts":1,"reasoning_tokens":309,"transport_provider":"openrouter","cache_read_input_tokens":0,"cache_creation_input_tokens":0},"cache_creation_input_tokens":0},"created_at":"2026-10-19T12:57:24.724653+00:00","model_set":{"reader":"deepseek/deepseek-v4-flash"},"pipeline_version":"pith-pipeline@v1.4.1-daily-deepseek-or-medium","input_kind":null,"input_chars":null,"input_total_chars":null,"passes_missing":null,"published_standing":null,"published_confidence":null,"objection_audit":null,"run_record":null,"basis":{"kind":"not_recorded","source":null,"chars_given":null,"chars_total":null},"receipt":null,"falsifier":"Construct a kickmix circuit where an HMR gate acts on a qubit that is entangled but not a function of the remaining qubits (e.g., a leftover ancilla in a random state). Then run the fuzz test on classical inputs: the simulator will introduce random sign flips, causing a high failure rate even if the circuit is correct on coherent superpositions. Conversely, a circuit that passes the fuzz test but violates the distinctness assumption would also break the bound; such a circuit could be built by inserting an HMR on a qubit that is a constant (always |0>), which is allowed but trivial. The real test is whether the empirical failure rate ε from fuzz testing actually bounds the coherent error as claimed, which could be checked on small instances by full statevector simulation.","supporting_citations":[{"cited_title":"III, A. F. White, R. Babbush, R. D. Somma, and N. C. Rubin, Fast quantum simulation of electronic structure by spectrum amplification, Phys. Rev. X15, 041016","cited_arxiv_id":null,"evidence_quote":"Introduced the kickmix model and the Fiat-Shamir verification protocol for elliptic curve cryptography; this paper extends that prior work."},{"cited_title":"How to factor 2048 bit RSA integers in 8 hours using 20 million noisy qubits, Quantum5, 433","cited_arxiv_id":null,"evidence_quote":"Provides the Trotter-based simulation of stopping power, including the inverse square root subroutine that becomes Benchmark I."},{"cited_title":"How to factor 2048 bit RSA integers with less than a million noisy qubits","cited_arxiv_id":null,"evidence_quote":"Describes the DQI algorithm with Reed-Solomon decoding (using kickmix circuits), which becomes Benchmark II."},{"cited_title":"Quantum computation of stopping power for inertial fusion target design, Proceedings of the National Academy of Sciences121, e2317772121","cited_arxiv_id":null,"evidence_quote":"Provides the DFTHC block-encoding for electronic structure, which forms the basis of Benchmark III."},{"cited_title":"Expressing and Analyzing Quantum Algorithms with Qualtran","cited_arxiv_id":"2409.04643","evidence_quote":"Introduces the temporary-AND gate and measurement-based uncomputation (HMR), key components of the kickmix gate set."},{"cited_title":"BitWonka, P.-L. Dallaire-Demers, F. Giannicola, R. M. L. Paschoarelli, O. Freuler, J. C.-H. Lee, V. Gnuchev, G. Kannappan, J. Boyer, X. Butler, A. Balasubramani, J. Newman, B. Dereje, A. Hertlein, R. Kodra, L. Levy, S. Patel, J. Rose, M. Zweil, O. Wisdom, T. El-Eter, E. Lee, M. Dong, A. Li, A. Joseph, D. Nguyen, G. Naik, G. Anant, S. Deb, and J. Drake, Efficient record-and-replay arithmetic for quantum elliptic-curve point addition","cited_arxiv_id":null,"evidence_quote":"Introduces the Decoded Quantum Interferometry algorithm and the Optimal Polynomial Intersection problem."},{"cited_title":"Securing elliptic curve cryptocurrencies against quantum vulnerabilities: Resource estimates and mitigations","cited_arxiv_id":null,"evidence_quote":"Qualtran framework; the kickmix simulator is built inside Qualtran."},{"cited_title":"Halving the cost of quantum addition, Quantum2, 74","cited_arxiv_id":null,"evidence_quote":"Stim stimulator inspired the bit-packed design of kickmix for performance."}],"lane_accuracy":{"status":"not yet measured","lane":{"model":"deepseek/deepseek-v4-flash","input_kind":null},"url":"https://pith.science/accuracy"},"review_version":1}