xx / benchmark /paper10 /task_spec.md
samiddn's picture seungone's picture
Duplicate from prometheus-eval/into-the-unknown
8fd924c
|
Raw History Blame Contribute Delete
46 kB
# Task: Develop a Substantive Follow-up to "Efficient Berry Phase Calculation via Adaptive Variational Quantum Computing Approach"
## Objective — Here's what you're doing
Develop a substantive scientific follow-up to the AVQDS-based Berry-phase algorithm by Mootz and Yao, "Efficient Berry phase calculation via adaptive variational quantum computing approach," 2025. Your contribution is to **characterize the resilience of this algorithm to realistic quantum hardware noise — establishing, with rigorous evidence, the noise levels below which the computed Berry phase stays accurate, and explaining why the method behaves the way it does under noise.** The original paper reports only noiseless state-vector results; your follow-up asks the question the paper leaves open — *how much noise can this method tolerate before its topological output degrades* — and answers it as a self-contained academic paper.
## The Problem — Here's why it matters
The **Berry phase** is a geometric property of quantum states that underlies the quantum Hall effect, topological insulators, and topological superconductors; for a time-reversal-invariant 1D crystalline system it is quantized, taking the value $0$ in a topologically trivial phase and $\pi$ in a topologically nontrivial phase. Computing it for interacting many-body systems on a classical computer is hard, which motivates quantum algorithms that evolve the system under a cyclic Hamiltonian and read the accumulated phase off a quantum circuit.
The original paper's advance is efficiency: by combining adaptive variational quantum dynamics simulation (AVQDS) with a time-reversed adiabatic loop, it computes the Berry phase in circuits of a few tens to a few hundred layers — orders of magnitude shallower than a Trotterized adiabatic evolution, which for the same 4-site chain would need on the order of $10^5$–$10^6$ CNOTs ($\gtrsim 10^3\times$ more). Shallow circuits are what make the method a candidate for near-term hardware.
But the paper's results are **entirely noiseless**: all Berry phases are obtained from exact state-vector simulation, "neglecting errors from quantum gates and finite sampling." The scientific question this leaves open is the one that decides whether the shallow-circuit advantage actually matters in practice: **under realistic device noise, how accurate does the Berry-phase estimate remain, and at what noise level does it break?** Two facts make this non-trivial rather than a routine sweep. First, the Berry phase is read out from a **measured probability**, so **finite-shot sampling noise is intrinsic and irreducible** — it persists even for a fault-tolerant device, because the final logical measurement is still a projective sample. Second, the method's noiseless robustness (it returns the correct phase even under strong non-adiabaticity) comes from two phase contributions that **co-evolve along the same variational trajectory so their non-adiabatic errors cancel** ($\varphi_B=\varphi_{\text{qc}}+\varphi_G$). That cancellation is a property of the co-evolving, adaptively grown ansatz — and it does not automatically carry over to *stochastic* device noise. In the required scope of this task (below) the ansatz and the variational trajectory $\theta(t)$ are frozen at their noiseless values (so the McLachlan integration is not re-run under noise), but the quantities the device must measure to evaluate $\varphi_G$ — the energy expectation $\langle\hat{\mathcal{H}}\rangle$ that feeds $\varphi_{G,1}$ and the geometric-connection overlaps $\langle\Psi|\partial_{\theta_\mu}\Psi\rangle$ that feed $\varphi_{G,2}$ — are re-evaluated under the same noise as the readout, so **both $\varphi_{\text{qc}}$ and $\varphi_G$ carry stochastic noise** and the extracted threshold is a genuine whole-method number. The natural question is then how the two contributions' errors combine — the *deterministic* bias they share through the frozen trajectory can partially cancel, but their *independent* stochastic (shot/incoherent) fluctuations add rather than cancel, and $\varphi_{G,1}=-\int\langle\hat{\mathcal{H}}\rangle\,dt'$ is a dynamical-phase leg whose measured-$\langle\hat{\mathcal{H}}\rangle$ noise integrates over the loop into a non-cancelling drift distinct from the $\varphi_{\text{qc}}$/$\varphi_{G,2}$ overlaps; feeding the sampling noise all the way back into the McLachlan integration (noisy $M,V$, so the trajectory itself becomes stochastic) is the harder, optional study.
## Background — Here's what you need to know about the original paper
Read `paper.md` in full before beginning. The algorithm you will characterize (and hold fixed) has these components:
1. **Cyclic adiabatic evolution.** A Hamiltonian $\hat{\mathcal{H}}(\lambda)$ depends on a cyclic parameter $\lambda(t)\in[0,2\pi]$ with $\hat{\mathcal{H}}(2\pi)=\hat{\mathcal{H}}(0)$. The ground state adiabatically follows $|G(\lambda(t))\rangle$, accumulating $|G(2\pi)\rangle = e^{-i\varphi_D}e^{i\varphi_B}|G(0)\rangle$ with dynamical phase $\varphi_D$ and Berry phase $\varphi_B = -i\oint d\lambda\,\langle G(\lambda)|\partial_\lambda G(\lambda)\rangle$.
2. **Time-reversal-symmetric loop** (Eq. 13): $U_{\text{loop}} = U_\circlearrowleft(0,T/2)\,U_\circlearrowleft(T/2,0)$ — forward evolution $\lambda:0\to\pi$ then time-reversed propagation $\lambda:\pi\to 2\pi$. For a time-reversal-invariant Hamiltonian this cancels $\varphi_D$ exactly while $\varphi_B$ adds.
3. **AVQITE ground-state preparation.** An adaptive ansatz $|\Psi[\theta]\rangle=\prod_\mu e^{-i\theta_\mu\hat{\mathcal{A}}_\mu}|\Psi_0\rangle$ is grown by appending pool operators to keep the McLachlan distance $L^2$ below a cutoff. Used to prepare $|G(\lambda=0)\rangle$.
4. **AVQDS adaptive time evolution.** The same adaptive structure applied to real-time cyclic dynamics: variational parameters evolve via the McLachlan equation of motion $\sum_\nu M_{\mu\nu}\dot\theta_\nu = V_\mu$ (Eq. 6), integrated with RK4 at adaptive step size ($\delta\theta_{\max}=0.01$); when $L^2\ge L^2_{\text{cut}}$ the ansatz is expanded (in the disjoint-support "TETRIS" form that keeps circuits shallow).
5. **Berry-phase readout (Hadamard test, Fig. 1).** An ancilla measures the overlap phase: the ancilla's $|0\rangle$ probability is $P_{|0\rangle}=\tfrac12(1+\cos\varphi_{\text{qc}})$, from which $\varphi_{\text{qc}}$ is inferred. Because AVQDS does not track the global phase, a separately integrated variational phase $\varphi_G$ (Eq. 5) is added: $\varphi_B = \varphi_{\text{qc}} + \varphi_G$. **The final Berry phase is the sum of two separately obtained quantities** — one from a measured probability ($\varphi_{\text{qc}}$), one from a classical-side integration (Eq. 5) of device-measured quantities along the trajectory: the energy expectation $\langle\hat{\mathcal{H}}\rangle$ (giving $\varphi_{G,1}$) and the geometric-connection overlaps $\langle\Psi|\partial_{\theta_\mu}\Psi\rangle$ (giving $\varphi_{G,2}$). ($M,V$ enter only the McLachlan equation of motion, Eq. 6, not $\varphi_G$.)
6. **Hyperparameters.** $L^2_{\text{cut}}=10^{-4}$ for AVQDS, $\delta\theta_{\max}=0.01$ for the adaptive RK4 step, and the UCCSD-like operator pool (products of Paulis with an odd number of $\hat\sigma^y$); for the AVQDS evolution the pool is the set of Hamiltonian Pauli strings ($N_H=18$ for $U=0$, $N_H=22$ for $U=10$).
7. **SSHH test bed** (Eq. 19). A dimerized Fermi-Hubbard (Su–Schrieffer–Heeger–Hubbard) chain, staggered hopping $t_{j,j+1}=t(1+(-1)^j\delta)$, on-site $U$, particle-hole symmetric. $N=4$ sites, $t=1$, mapped to **8 qubits** by Jordan–Wigner; the twist $\lambda$ is applied to spin-up fermions only. Two interaction regimes: $U=0$ (noninteracting SSH) and $U=10$ (strongly correlated). The topological character is set by the dimerization $\delta$, with a phase transition at $\delta=0$.
**Reference baseline behavior (noiseless, from the paper):**
- **Berry phase.** Reproduces the exact-diagonalization value to $\sim 10^{-3}$ or better in both regimes: $\varphi_B=0$ in the topologically trivial regime, $\varphi_B=\pi$ in the nontrivial regime. All loop times $T$ resolve the $\delta=0$ transition.
- **Circuit resources.** Peak circuit depth up to **106 layers** ($U=0$) and **279 layers** ($U=10$); the nontrivial region costs several times more CNOTs than the trivial region. The AVQITE ground-state preparation adds $\sim 20$ CNOTs ($U=0$) / $\sim 92$ CNOTs ($U=10$).
- **Trotter comparison ($U=0$).** A first-order Trotterized adiabatic evolution at matched accuracy needs $\sim 10^3\times$ more CNOTs (e.g. $\sim 4.8\times 10^5$ at $T=20$), which is the sense in which AVQDS is "shallow."
- **Noiseless robustness the paper emphasizes.** The time-reversed loop cancels the dynamical phase; the method returns the correct $\varphi_B$ even for short loops with strong non-adiabaticity, because $\varphi_B$ is a gauge-invariant closed-loop quantity and the fast dynamical phases of excited-state admixtures average out over the loop. **This robustness is to non-adiabaticity, established under exact arithmetic — it is not a claim about stochastic hardware noise, and the two are physically different.**
**Reference data.** `data/figshare_data/AVQS-Berry.zip` contains the authors' per-$\lambda$ traces: `results{run}p0.h5` (AVQDS phase-component, fidelity, per-layer CNOT and depth traces) and `exact{run}p0.h5` (exact-diagonalization reference). These are the ground truth for reproducing the noiseless numbers and validating any re-implementation. Note the phase traces are stored **unfolded / wrapped**, not as a clean $0$-or-$\pi$ column: the reported Berry phase is reconstructed from the stored per-$\lambda$ phase components and folded to the principal value (the authors' figure scripts evaluate it at the loop endpoint and take the magnitude, yielding $0$ in the trivial and $\pi$ in the nontrivial regime). Reproduction against the archive must be judged **after** you apply and state a branch/fold/sign convention; do not read a trace column directly as the Berry phase. The archive does **not** contain the AVQITE/AVQDS engine (the authors' driver only invokes an external code base). It does ship the authors' figure-generation scripts, and — for the $U=10$ runs — per-run `incar` files holding the Jordan–Wigner-mapped Hamiltonian and operator pools, plus per-run `ansatz.h5` files holding an already-grown, already-optimized ansatz (operator selections and parameters). You must implement the engine, construct the Hamiltonian and Jordan–Wigner mapping yourself, and grow your own ansatz: these shipped artifacts may be **inspected and cross-checked against, but not loaded in place of your own construction** (see the held-fixed and reward-hacking rules).
## Contract — Here's exactly what counts as success
You will produce a **noise-resilience characterization** of the AVQDS Berry-phase algorithm on the SSHH test bed. Concretely:
1. **Inspect the provided reference data.** Document, in `proposal/codebase_notes.md`, what you inspected in `data/figshare_data/` (the trace schema, the noiseless Berry-phase and resource numbers) and how you used it to validate your re-implementation.
2. **Reproduce the noiseless anchor.** Re-implement the AVQITE + AVQDS Berry-phase pipeline and reproduce, under noiseless simulation, the paper's Berry-phase values ($0$ and $\pi$) in both regimes, together with circuit resources consistent with the paper for your stated $(\delta, T)$: peak depths of order tens of layers for $U=0$ and up to a few hundred for $U=10$ (the paper spans roughly 47–106 layers for $U=0$ and 82–279 for $U=10$ across its $(\delta, T)$), with the $U=10$ circuits several times deeper than $U=0$ and the nontrivial region costing several times more CNOTs than the trivial region — reproduced for the specific $(\delta, T)$ you choose and cross-checked against the figshare traces at that $(\delta, T)$. Exact numerical match to the paper's peak figures is not expected. This anchors every noisy comparison to a correct noiseless result.
3. **State your noise model and accuracy criterion in the Methodology before any results.** A domain expert should be able to reproduce your noise study from the Methodology alone: the channels and rates, how each maps onto the circuit, the phase estimator, the shot model, the accuracy tolerance, and the rule by which the threshold is extracted must all be stated up front (see §"Held fixed" and §"Where the contribution lives").
4. **Model, at minimum, the required realistic-noise sources** (see the Evaluation Protocol): finite-shot sampling of the readout, two-qubit gate error, ancilla readout error, and $T_1/T_2$ decoherence. Injected noise must act on the actual circuit in a genuine density-matrix (or quantum-trajectory) simulation — not be emulated by perturbing the final phase. In the required scope this noise acts on **both** the Hadamard-test readout that yields $\varphi_{\text{qc}}$ **and** the circuits that measure the quantities feeding $\varphi_G$ — the energy expectation $\langle\hat{\mathcal{H}}\rangle$ (for $\varphi_{G,1}$) and the geometric-connection overlaps $\langle\Psi|\partial_{\theta_\mu}\Psi\rangle$ (for $\varphi_{G,2}$) — evaluated along the frozen noiseless trajectory, so both contributions to $\varphi_B=\varphi_{\text{qc}}+\varphi_G$ carry noise. In $\varphi_{G,2}$ the frozen noiseless $\dot\theta_\mu(t)$ multiplies the noisy connection overlaps; $\dot\theta$ (fixed by the noiseless $M,V$) is not itself re-derived under noise — re-deriving it from noisy $M,V$ is the optional noisy-construction study.
5. **Establish the noise threshold.** For each required configuration ($U=0$ and $U=10$; both the topologically trivial and nontrivial regimes), characterize how the Berry-phase estimate degrades as noise increases, and extract the **noise threshold** — the largest incoherent-noise strength at which the estimate stays within your pre-stated accuracy tolerance — by your pre-stated extraction rule, with uncertainty from multiple seeds. Because in the required scope both the readout and the $\varphi_G$-integrand measurements carry noise while the ansatz and trajectory are frozen (see "Held fixed" and "Noisy ansatz construction"), this threshold characterizes the resilience of the whole measured Berry phase $\varphi_B=\varphi_{\text{qc}}+\varphi_G$ at a fixed variational trajectory — not the noise-driven evolution of that trajectory, which is the optional noisy-construction study; state the scope as such. Report the threshold in **device-referenced units** at a **stated reference shot count $S_{\text{ref}}$** (an equivalent two-qubit error rate, readout error, and $T_1/T_2$), so it is interpretable as "accurate below roughly $X$ two-qubit error at $S_{\text{ref}}$ shots," and report **separately** the minimum-shots floor $S^\ast$ (the fewest shots that keep the estimate within tolerance at fixed low incoherent noise), since finite-shot sampling is a distinct, irreducible axis. Report thresholds separately for the shallow ($U=0$) and deep ($U=10$) circuits so the depth dependence is visible; where the trivial and nontrivial regimes of the same $U$ give different thresholds, the per-$U$ threshold below which the two topological phases stay distinguishable is the more conservative (smaller) of the two.
6. **Distinguish topological phases under noise.** Below the threshold, the method must still correctly separate the trivial ($\varphi_B=0$) from the nontrivial ($\varphi_B=\pi$) regime. A characterization that only tracks one regime does not satisfy the contract.
7. **Explain the mechanism.** Analyze *why* the threshold sits where it does. Engage specifically with the fate of the method's noiseless phase-cancellation robustness under noise: the Berry phase is $\varphi_B=\varphi_{\text{qc}}+\varphi_G$, and in the required scope both contributions are sampled under noise. Reason carefully about how their errors combine, distinguishing two effects: (i) the *deterministic* bias the contributions inherit from the shared frozen trajectory (e.g. a coherent over-rotation, or the finite-$T$ non-adiabatic residual whose noiseless cancellation between $\varphi_{G,2}$ and $\varphi_{\text{qc}}$ the paper derives in Appendix A) *can* partially cancel; (ii) the *stochastic* shot/incoherent fluctuations on the separate $\varphi_{\text{qc}}$, $\langle\hat{\mathcal{H}}\rangle$, and overlap circuits are drawn independently, so their variances *add* (sharing the trajectory does not make them cancel). Note also that $\varphi_{G,1}=-\int\langle\hat{\mathcal{H}}\rangle\,dt'$ is a dynamical-phase leg whose measured-$\langle\hat{\mathcal{H}}\rangle$ noise integrates over the loop into a non-cancelling bias/random-walk, physically distinct from the co-evolving $\varphi_{\text{qc}}$/$\varphi_{G,2}$ overlaps — so a rigorous analysis decomposes $\varphi_G$ into its $\varphi_{G,1}$ and $\varphi_{G,2}$ legs rather than treating it as one lumped quantity, and supports the picture with evidence (a $\varphi_{\text{qc}}$-only vs $\varphi_{G,1}$-vs-$\varphi_{G,2}$ decomposition, or per-channel isolation). If you also make the construction noisy (optional), analyze instead how re-integrating the McLachlan equation under noisy $M,V$ — a stochastic trajectory — changes that picture. Also identify which noise source and which circuit property (depth, CNOT count, the single-ancilla readout) dominates the degradation.
**Held fixed (parity constraints).** These are not part of the design space; they must remain identical to the original paper so the object you are characterizing is the paper's method:
- **The algorithm.** The AVQITE + AVQDS Berry-phase pipeline as defined in the paper: McLachlan variational principle and equation of motion (Eq. 6), the adaptive disjoint-support ansatz growth, the RK4 integrator at $\delta\theta_{\max}=0.01$, the UCCSD-like operator pool, the time-reversed adiabatic loop (Eq. 13), and the Hadamard-test phase readout with $\varphi_B=\varphi_{\text{qc}}+\varphi_G$. You are characterizing this algorithm's noise resilience, not designing a new algorithm; do not substitute a different ground-state-preparation or dynamics method.
- **The hyperparameter floor.** $L^2_{\text{cut}}=10^{-4}$ for AVQDS (you may use a smaller or equal cutoff; a larger one degrades variational accuracy and is not allowed). $\delta\theta_{\max}=0.01$. Loosening the cutoff to trim circuit depth — and thereby reduce apparent noise sensitivity — is a held-fixed violation, not a contribution.
- **The test bed.** The SSHH chain at $N=4$, $t=1$, both $U=0$ and $U=10$, mapped to 8 qubits by Jordan–Wigner, with the twist applied to spin-up fermions only, and with the trivial and nontrivial dimerization regimes the paper uses. Exact-diagonalization Berry phases ($0$ and $\pi$) are the accuracy references.
- **The noiseless result being anchored to.** Your noiseless re-implementation must reproduce the paper's Berry phases and approximate resources before you attach noise; a noise threshold measured against a wrong noiseless result is meaningless.
- **Variational-simulation integrity.** The variational state must be evolved through the parametrized circuit, and ansatz-growth decisions must use only quantities a device could measure (the McLachlan distance $L^2$ via $M,V$ and the energy variance) — never fidelity to a classically computed exact ground state. Circuit resource counts (CNOTs, depth) must come from the logged operator selections, not a closed-form estimate. The Hamiltonian and its Jordan–Wigner mapping must be constructed by your own pipeline (do not read the archive's `incar` Hamiltonian strings or operator pools as your model), and the ansatz must be grown by your own AVQITE/AVQDS run (do not load the archive's `ansatz.h5` operator selections or parameters in place of your own growth); inspecting these artifacts to cross-check is fine.
**Where the contribution lives.** Your design choices — and where the scientific merit is judged — are: the composition of the noise model beyond the required sources; the phase estimator (see below); the noise-strength parameterization and sweep grid; the accuracy tolerance and threshold-extraction rule; the depth of the mechanism analysis; and any error-mitigation or breadth extensions. If you find a reason to deviate from a held-fixed item, justify it explicitly and run a comparison that isolates the effect of the deviation; a silent deviation is a violation regardless of merit.
**The readout estimator.** The variational Hadamard test measures $\varphi_{\text{qc}}$ (with $\varphi_B=\varphi_{\text{qc}}+\varphi_G$), not $\varphi_B$ directly, via $P_{|0\rangle}=\tfrac12(1+\cos\varphi_{\text{qc}})$. Wherever $\varphi_{\text{qc}}$ sits near $0$ or $\pi$ — as it does in the near-adiabatic limit where $\varphi_G\to 0$, and generically wherever the accumulated $\varphi_G$ leaves $\varphi_{\text{qc}}$ close to a quantized value — the single real-part readout has vanishing slope and is ill-conditioned to the small noise-induced deviation. Because $\varphi_{\text{qc}}$'s location depends on your $(\delta, T)$ and the residual $\varphi_G$, use a phase estimator that stays well-conditioned across the loop — for instance one that also measures the imaginary part of the overlap, giving nonzero slope at $0$ and $\pi$ — **or** show, at your operating point, that $\varphi_{\text{qc}}$ sits far enough from $0/\pi$ that the single real-part readout remains reliable. State your estimator in the Methodology.
**Branch convention.** The Berry phase is defined modulo $2\pi$, and for $U=10$ the raw $\varphi_B=\varphi_{\text{qc}}+\varphi_G$ comes out as an odd multiple of $\pi$ (the paper reports raw values such as $-3\pi$ and $-5\pi$) that only equals the reference $\pi$ after a principal-value fold — whose branch boundary sits exactly at the $U=10$ nontrivial target, where an infinitesimal noise perturbation can flip the folded value between $+\pi$ and $-\pi$. State your branch policy (continuous phase accumulation / unwrapping vs. a discontinuous principal-value fold), and compute **all** Berry-phase deviations $|\varphi_B-\varphi_B^{\text{ED}}|$ and the trivial-vs-nontrivial discrimination margin **on the circle** (map estimate and reference to the same principal value and take the shorter angular distance), so estimates straddling the $\pm\pi$ branch boundary are compared correctly.
**A comparison to a deep-circuit baseline (optional, rewarded).** The practical case for this method is that its shallow circuits should tolerate more noise than a deep Trotterized adiabatic evolution at matched noiseless accuracy. Demonstrating this — that the AVQDS noise threshold is higher than a Trotter baseline's at the same task — is a strong, well-motivated extension. It is not required; it is rewarded.
**Noisy ansatz construction (optional, rewarded).** The required scope freezes the paper's noiselessly constructed ansatz and the variational trajectory $\theta(t)$, and injects noise into the execution of the readout **and** the $\varphi_G$-integrand measurements ($\langle\hat{\mathcal{H}}\rangle$ and the geometric-connection overlaps) evaluated along that frozen trajectory. Additionally feeding sampling noise back into the classical construction loop — noisy $M,V$ estimation, hence a noisy McLachlan integration that makes the *trajectory itself* stochastic and re-grows the ansatz under noise — is a harder and separately interesting study; it is optional and rewarded, not required.
**Effort evidence is mandatory.** Any contract item you attempt but cannot bring to completion must be documented in `proposal/attempts_log.md` with what you tried and why it did not work. An honest, well-reasoned partial characterization is scored above an incomplete or overclaimed one.
**Main paper vs. appendix.** The main paper carries the complete, deep characterization; the appendix is a fallback for work you attempted but could not bring to journal quality, with matching `attempts_log.md` entries. The expected outcome is an empty or near-empty appendix, achieved by doing the work — not by relegating contract content.
**Four principles your contribution must satisfy.**
1. **Originality.** The noise study should be your own scientific work; convergence with independently published noise studies is expected and fine when acknowledged, but substantive replication of an existing follow-up's structure is not (see §"Autonomy").
2. **Predictive sharpness.** The noise model, estimator, accuracy tolerance, and threshold-extraction rule must be fully stated in the Methodology before any results are shown. Qualitative gestures ("we add realistic noise") do not satisfy this.
3. **Diagnostic depth.** The paper must contain substantive mechanism, failure, and computational-cost analyses — not just threshold numbers.
4. **Statistical sharpness.** Report all noise levels, seeds, and regimes you ran (or use principled aggregation with error bars). Reporting only the configurations where the method looks most robust, while hiding others, is selective reporting.
## Evaluation — Here's how you'll be judged
Your submission is graded on a leaf-level rubric that combines **gates** (failing one precludes a high score) with **differentiators** (which separate a solid submission from an excellent one).
**Gates (all must pass):**
1. **Integrity.** Quantitative claims trace to logs; the paper describes what the code actually does; noise is injected in a genuine circuit simulation and shot noise comes from actual finite sampling; the held-fixed algorithm, test bed, and hyperparameter floor are respected (or any deviation is disclosed). Integrity violations are disqualifying.
2. **Noiseless anchor reproduced.** The noiseless Berry phases ($0$ and $\pi$) and approximate resources are reproduced in both regimes and cross-checked against the reference data.
3. **Required noise sources modeled, on the whole method.** Finite-shot sampling, two-qubit gate error, readout error, and $T_1/T_2$ decoherence are all present and faithfully modeled, acting on both the $\varphi_{\text{qc}}$ readout and the $\varphi_G$-integrand measurements ($\langle\hat{\mathcal{H}}\rangle$ and the geometric-connection overlaps) at the frozen trajectory; a $\varphi_G$-exact, readout-only scope must be disclosed as narrower.
4. **Threshold established on the required configurations.** A noise threshold with uncertainty is extracted, by the pre-stated rule, for $U=0$ and $U=10$ in both topological regimes, and the trivial/nontrivial phases are distinguished below threshold.
5. **Honest accounting.** All swept noise levels and seeds are reported; the threshold is not cherry-picked; the accuracy tolerance and extraction rule were fixed before the results.
**Differentiators (among gate-passing submissions):**
- Depth and rigor of the **mechanism analysis**, especially whether the noiseless phase-cancellation robustness survives stochastic noise, and which noise source / circuit property dominates the degradation.
- **Device-referenced, interpretable thresholds** (equivalent two-qubit error, readout error, $T_1/T_2$, shots) and a clear account of the depth dependence between the $U=0$ and $U=10$ circuits.
- A **well-conditioned phase estimator** at the quantized targets, or a rigorous justification of the chosen estimator.
- **Breadth** of the noise model beyond the required sources (single-qubit error, coherent over-rotation, crosstalk), where scientifically motivated.
- A **shallow-vs-deep (AVQDS-vs-Trotter) noise-tolerance comparison** at matched noiseless accuracy.
- An **error-mitigation** demonstration that measurably raises the threshold.
- Quality of the **failure analysis**, **computational-cost analysis**, **originality / literature engagement**, and **writing**.
A submission that overclaims robustness — reporting a favorable threshold without the uncertainty, the honest per-configuration picture, or the reproduced noiseless anchor — is worse than one that honestly reports a modest threshold and explains what limits it.
## Rules — Here are the rules
### Available resources
Everything you need is in the working directory.
- `paper.md` — markdown version of the original paper (Mootz & Yao, 2025): the AVQITE+AVQDS framework, the time-reversed-loop derivation, the SSHH test bed, the resource analysis, and the noiseless numerical results.
- `paper.pdf` — original paper PDF.
- `images/` — figures from the original paper (Hadamard-test circuits, loop diagrams, dimerization-vs-Berry-phase curves, depth-scaling plots).
- `code/` — empty; the paper's core AVQITE/AVQDS engine (the McLachlan solver, growth loop, integrator) is not provided, so implement the framework yourself from Sec. II–III of the paper. A classical density-matrix (or state-vector + noise) simulator of the 8-system-qubit-plus-ancilla circuit is sufficient; full fault-tolerant emulation is not required. (The figshare archive ships the authors' figure scripts, the $U=10$ Jordan–Wigner Hamiltonian and pools in `incar`, and pre-grown `ansatz.h5` files; these are reference artifacts to cross-check against, not to load in place of your own Hamiltonian construction and ansatz growth.)
- `data/figshare_data/AVQS-Berry.zip` — the authors' figshare archive. Unzip to access per-$\lambda$ traces: `results*p0.h5` (AVQDS Berry phase, fidelity, CNOT and depth traces) and `exact*p0.h5` (exact-diagonalization reference). Use it to validate your re-implementation and to source the noiseless anchor numbers. (Reading the HDF5 files may require matching your `numpy`/`h5py` build; the `h5dump`/`h5ls` command-line tools are a reliable fallback.)
For state-vector and density-matrix simulation, noise modeling, exact diagonalization, and analysis, standard scientific Python tooling is available (NumPy, SciPy, and quantum-simulation libraries such as Qiskit / qiskit-aer, Cirq, or QuTiP). For Pauli-string algebra and the Jordan–Wigner mapping, use OpenFermion or your own implementation.
### Evaluation Protocol
The following are held fixed so all submissions are comparable.
#### Test bed
The SSHH chain of Background §7: $N=4$ sites, $t=1$, 8 qubits after Jordan–Wigner, twist on spin-up fermions only. Both interaction regimes, $U=0$ and $U=10$. In each regime, both a topologically **trivial** dimerization (exact $\varphi_B=0$) and a topologically **nontrivial** dimerization (exact $\varphi_B=\pi$) — four required configurations in total. You choose the specific dimerization values and loop time within the paper's accurate range and state them; the exact-diagonalization Berry phase fixes the reference for each.
#### Required noise sources
At minimum, model all four, injected on the actual circuit:
- **Finite-shot sampling** of the readout measurement (draw outcomes from the exact probability; report the number of shots).
- **Two-qubit gate error** on entangling gates (e.g. a depolarizing channel per two-qubit gate).
- **Readout / measurement error** on the ancilla (and any measured system qubits).
- **$T_1/T_2$ decoherence** (amplitude + phase damping / thermal relaxation) keyed to gate times and circuit depth.
These channels act on **every** circuit the method executes under noise — both the Hadamard-test readout that yields $\varphi_{\text{qc}}$ and the circuits that estimate the $\varphi_G$-integrand quantities (the energy expectation $\langle\hat{\mathcal{H}}\rangle$ for $\varphi_{G,1}$ and the geometric-connection overlaps $\langle\Psi|\partial_{\theta_\mu}\Psi\rangle$ for $\varphi_{G,2}$), evaluated at the frozen noiseless trajectory, so the extracted threshold is a whole-method number. A required-scope threshold in which $\varphi_G$ is held at its exact noiseless value (only $\varphi_{\text{qc}}$ sampled) is a narrower, readout-only characterization: it must be disclosed as such, and a threshold presented as whole-method while $\varphi_G$ is noise-free does not meet the required scope.
Model these jointly, and parameterize noise strength so it can be swept (for instance a single scalar that scales the incoherent rates against a fixed realistic device profile), with the number of shots reported as its own axis. State the concrete base device profile you scale against — the base two-qubit error, ancilla readout error, $T_1/T_2$, and per-gate-type gate times — and report and interpret every threshold relative to it, noting that the four channels co-vary along the scalar in the ratio this profile fixes. (The paper's resource counts assume all-to-all connectivity, so a base profile in that setting is the most faithful match to its gate counts.) Single-qubit gate error, coherent over/under-rotation, and crosstalk are encouraged additions but not required.
#### Metrics (logged for every run)
The computed Berry phase and its deviation from the exact-diagonalization reference; the output-state infidelity under noise; the noise-model parameters (rates, $T_1/T_2$, readout error) and shot count; the circuit depth and CNOT count from the logged operator selections; the extracted threshold with its uncertainty.
#### Reference computation
Exact-diagonalization Berry phases (the $0$ and $\pi$ references) must be computed at runtime from the model Hamiltonian by your own independent pipeline, not hardcoded. The figshare `exact*p0.h5` traces may be used to cross-check.
#### Comparison methods
The **noiseless AVQDS Berry phase** (the reproduced anchor); the **AVQDS Berry phase under noise** at each swept level (the object of study); and, optionally, a **Trotterized adiabatic baseline under the same noise** at matched noiseless accuracy. The original paper's reported numbers are a verification reference, not the contract baseline.
### Autonomy and external resources
**Internet search is permitted and encouraged.** Use it for literature on Berry-phase and topological-invariant quantum algorithms, AVQITE/AVQDS, NISQ noise modeling, quantum error mitigation, and shot-allocation; for documentation of the simulation libraries; and to read work published since the original paper so you can position and differentiate your contribution. Cite anything you use.
**On replication.** Independent researchers will converge on some shared choices — that convergence is fine and expected. What is not allowed is substantive replication of an existing follow-up: the same noise model, the same threshold definition, the same conclusions, in a structure that mirrors prior work rather than developing its own. If the evaluator finds your submission is substantively a reproduction of an existing follow-up, it will be severely degraded. The contract evaluates your scientific work, not your literature search.
**Working-directory constraint.** Do not read local files outside the provided working directory.
**No questions.** Make your own decisions and justify them in your write-up; do not ask for clarification mid-task.
### Compute budget
- **Hardware.** A CPU machine with 32 vCPU cores, ~60 GB RAM (no swap), and ~470 GB working disk. No GPU. Treat ~50 GB as a hard memory ceiling (the node has ~60 GB RAM, no swap, and the OS + agent harness need headroom): size grids, dense matrices, ensembles, batch sizes, and parallel workers to keep peak resident memory under it; estimate/monitor peak memory before scaling up and prefer chunked / streaming / sparse computation. A process that exhausts RAM is killed by the OS. The per-configuration density matrix is small (a 9-qubit density matrix is a few megabytes), but under the whole-method scope each swept (noise level, seed, configuration) point requires, along the frozen trajectory, a noisy evaluation of the $\varphi_{\text{qc}}$ readout **and** the $\varphi_G$ integrand — $\langle\hat{\mathcal{H}}\rangle$ for $\varphi_{G,1}$ and one geometric-connection-overlap circuit per variational parameter ($N_\theta = O(100)$) at each integration node — so per-point cost scales as (number of integration nodes) $\times N_\theta$ noisy circuit evaluations, not a single readout. This is still tractable on 32 vCPU (each sim is a few MB / milliseconds, the frozen trajectory has no inner McLachlan loop, and a coarse $\lambda$ grid suffices because $\varphi_G(\lambda)$ is smooth), but budget the $\varphi_G$-integrand sampling explicitly and parallelize across cores.
- **Where compute goes.** Favor a noise sweep dense enough to resolve the threshold with error bars over pushing to larger systems; the contract is about characterization quality, not system size.
### No reward hacking
Your submission and logs will be inspected for the following. These are disclosed up front so the contract is clear.
1. **Number traceability.** Every quantitative claim (Berry-phase values, deviations, noise rates, thresholds, shot counts, CNOT and depth numbers, fidelities) must trace to a log entry with the same value. Numbers with no logged source will be flagged.
2. **Pre-stated method and consistent reporting.** The noise model, phase estimator, accuracy tolerance, and threshold-extraction rule must appear in the Methodology before any results, and the rates and settings quoted in the paper must match the logged run configurations. Refining a choice after seeing results is allowed only if disclosed; silent restatement is not.
3. **Baseline honesty.** The noiseless-anchor numbers and any under-noise or Trotter-baseline numbers must come from your own logged runs. The original paper's reported values are a verification reference, not to be transcribed and presented as your own measurements.
4. **Held-fixed disclosure.** Any deviation from the §"Held fixed" clause — the algorithm, the hyperparameter floor ($L^2_{\text{cut}}$, $\delta\theta_{\max}$), the test bed, the variational-simulation integrity — must be disclosed transparently in the Methodology or Experimental Setup. Silent deviation, or a paper claim of compliance contradicted by the logs, is a deception.
5. **Noise-simulation integrity.** Injected gate and decoherence noise must act on the actual circuit in a genuine density-matrix or quantum-trajectory simulation, and finite-shot noise must come from actual finite sampling (e.g. binomial draws) of the measured probability — for the $\varphi_{\text{qc}}$ readout and, in the required whole-method scope, the $\varphi_G$-integrand measurements ($\langle\hat{\mathcal{H}}\rangle$ and the geometric-connection overlaps) — not from adding a Gaussian to the final phase or substituting an analytic variance formula for a real sampling procedure.
6. **No selective reporting.** All swept noise levels, seeds, and both topological regimes must be reported (or aggregated with error bars). Reporting only the configurations where the method looks most robust, or picking the threshold from the most favorable seed, is selective reporting.
7. **Shot-sampling integrity.** The reported shot-noise behavior must come from real finite-sample estimation at the logged shot counts, for the $\varphi_{\text{qc}}$ readout and, in the required whole-method scope, the $\varphi_G$-integrand measurements. Claiming a shots axis while computing phases (or the $\varphi_G$-integrand expectation values) from exact probabilities is a misrepresentation. Holding $\varphi_G$ at its exact noiseless value is a narrower readout-only scope: when disclosed as such it is a narrower-scope limitation (graded as a weakness), not a misrepresentation; presenting a $\varphi_G$-exact threshold as whole-method is the violation.
8. **Code-paper alignment.** The Methodology must accurately describe what the code does — the noise channels and rates, the estimator, the shot model, the ansatz, the threshold rule — and these must match the implementation.
9. **Variational-simulation integrity.** The variational state must be evolved through the parametrized circuit; ansatz-growth decisions must use only device-measurable quantities (the McLachlan distance $L^2$), never fidelity to a classically computed exact ground state; and CNOT/depth counts must come from your own logged operator selections, not a closed-form formula and not the archive's pre-grown `ansatz.h5`/`ngates`. Loading the authors' `ansatz.h5` selections or parameters in place of your own AVQITE/AVQDS growth is a violation.
10. **No hardcoded reference values.** The code must not contain hardcoded exact-diagonalization states, target Berry-phase values, or threshold literals that bypass the actual simulation and analysis. References are computed at runtime, and the model Hamiltonian is constructed by your own Jordan–Wigner pipeline — reading the archive's `incar` Hamiltonian strings or operator pools as your model counts as a hardcoded input.
11. **Threshold-extraction integrity.** The noise threshold must be extracted by the pre-stated criterion applied uniformly across configurations, not chosen post hoc to maximize the reported robustness.
12. **Experiment completeness.** Every experiment described in the paper must have corresponding logs (noiseless-anchor runs, per-noise-level runs, seed repeats, threshold analysis, reference computations). Suspicious gaps will be flagged.
13. **Codebase inspection evidence.** `proposal/codebase_notes.md` must document what you inspected in `data/figshare_data/` and reused or cross-checked, and any external simulation code you built on.
14. **No substantive replication of published follow-ups.** If your noise model, threshold definition, and conclusions substantively replicate a published follow-up without acknowledgment, that will be flagged. Acknowledged convergence is fine; silent structural replication is not.
15. **No undisclosed external code.** Non-trivial methodology code (the AVQDS engine, the noise model, the phase estimator) must be authored by you during this run or be from a standard scientific library with attribution in `codebase_notes.md`.
16. **Effort evidence when partial work is claimed.** If any contract item is described as attempted-but-incomplete, `proposal/attempts_log.md` must contain at least two documented attempts with reasoning.
## Deliverables — Here's what to hand in
Organize all outputs under `proposal/`. Submit:
**Codebase, logs, codebase notes, and attempts log.**
- `proposal/code/` — your AVQITE + AVQDS implementation, the noise model, the phase estimator, the threshold-extraction analysis, and the exact-diagonalization reference pipeline.
- `proposal/codebase_notes.md` — what you inspected in the reference data and any external simulation code you reused.
- `proposal/logs/` — including: the noiseless-anchor reproduction (Berry phase, fidelity, depth/CNOT traces) cross-checked against the figshare data; per-(configuration, noise-level, seed) runs logging the noise parameters, shot count, computed Berry phase, deviation from the exact reference, and infidelity; the threshold-extraction analysis; and the runtime exact-diagonalization references.
- `proposal/attempts_log.md` — distinct documented attempts for any unresolved or partial item.
Every quantitative claim in the paper must be reproducible from a log entry.
**Follow-up paper.** A LaTeX paper at `proposal/report.tex`, compiled to `proposal/report.pdf`, using the provided `neurips.sty`. The paper must contain: motivation and the scientific question; a description of the method being characterized and the held-fixed setup; the noise model, phase estimator, accuracy criterion, and threshold-extraction rule; the noiseless-anchor reproduction; the noise-resilience results; a mechanism analysis (why the threshold sits where it does, and whether the noiseless cancellations survive noise); a failure analysis; a computational-cost discussion; engagement with related work; and limitations and conclusions. Choose section names that fit the contribution — do not organize the paper as a transcription of this spec.
It must include a primary results table labeled `\label{tab:main_results}` reporting, for each configuration, the noiseless and under-noise Berry phase, the deviation from the exact reference, the extracted threshold with uncertainty (in device-referenced units), and the circuit resources. A skeleton is below; the row and method labels are placeholders — name your configurations and method as fits the paper.
| Configuration | Noise setting | Berry phase | $|\varphi_B - \varphi_B^{\text{ED}}|$ | Threshold (device units) | Depth | $N_{\text{CX}}$ |
|---|---|---|---|---|---|---|
| (U, regime) | noiseless | | | | | |
| (U, regime) | at threshold | | | | | |
| (additional rows for each configuration and swept level) | | | | | | |
Beyond the table, the results should include: Berry-phase-error-versus-noise-strength curves with the threshold crossing and seed error bars, for both $U$ regimes; a shots-versus-phase-uncertainty relationship; and the infidelity-versus-noise trend alongside the phase error. Additional analyses are encouraged.
### Paper quality
This is an academic paper, not a class-project report; it should read as it would in a strong journal. Do not frame it as "a follow-up to Mootz and Yao"; frame it as a self-contained study of the noise resilience of adaptive-variational Berry-phase computation, citing the original where appropriate.
**Independence from this task spec.** A reader who has not seen this spec should not be able to reverse-engineer it from your paper's structure or terminology. Do not reuse spec phrases ("required noise sources," "the contract," "differentiators") or transliterate its section order. The title should describe the scientific contribution, not the structure of the investigation.
**Rendered output verification.** Before submitting, compile the LaTeX to PDF and inspect it: equations must not overflow the margins, tables must fit, and figures must not be cut off.
Good luck.