# TGen-SQD: Physics-Informed Transferable Configuration Generator for Sample-Based Quantum Diagonalization

Quantum.world

> SQD estimates molecular ground-state energies by sampling bitstrings (Slater determinants) from a quantum circuit and then classically diagonalizing the Hamiltonian inside the subspace those…

**arXiv**: 2611.16080 · Preprint · not peer-reviewed

**Published**: 2026-11-11

**Authors**: Niloy Deb Roy Mishu, Lei Jiang, Mohsen Heidari, Ruizhe Zhang, Fan Chen

## In plain words

SQD estimates molecular ground-state energies by sampling bitstrings (Slater determinants) from a quantum circuit and then classically diagonalizing the Hamiltonian inside the subspace those determinants span.

## AI summary

## Overview

**Research area:** Quantum computing for quantum chemistry — specifically hybrid quantum–classical ground-state energy estimation, and machine learning methods for selecting the determinant subspace used by sample-based quantum diagonalization (SQD).

**Technical level:** Advanced. The paper assumes familiarity with second quantization, Slater determinants, selected configuration interaction (SCI), many-particle perturbation theory (MPPT), and autoregressive neural sequence models.

**Scope:** The paper proposes TGen-SQD, a single physics-informed GRU-based generator trained jointly across nine Hamiltonians and reused with frozen weights to propose electron configurations for SQD on both seen and zero-shot (unseen) molecular geometries, evaluated on a 20-qubit H₁₀ chain.

## What This Paper Is About

SQD estimates molecular ground-state energies by sampling bitstrings (Slater determinants) from a quantum circuit and then classically diagonalizing the Hamiltonian inside the subspace those determinants span. Its accuracy and cost hinge entirely on whether that subspace contains the right determinants: miss important configurations and the energy is too high; include too many low-value ones and subspace construction, storage, and diagonalization costs grow. Existing machine-learning selectors inject physics through task-specific cues and must be retrained for every new Hamiltonian, so this paper asks whether one generator can learn transferable, physics-conditioned configuration patterns and be reused without retraining across related geometries.

## Key Contributions

1. **Physics-informed configuration representation.** Training data is built from configuration-interaction-weighted LUCJ samples, the Hartree–Fock determinant, and rank-three MPPT anchors. Configurations are tokenized per spatial orbital by pairing α- and β-spin occupations into one of four token values, and the generator is conditioned on orbital-level features (orbital energies, one-electron and Coulomb/exchange matrix features, HF/current-CI occupations) plus system-level features (size, electron filling, geometry, reference and correlation energies, selected-space size).
2. **A transferable autoregressive generator.** A single-layer GRU generator is trained by maximum likelihood on CI-weighted data from nine Hamiltonians simultaneously. At inference its weights stay frozen for both seen and unseen geometries; only the target-specific context and selected-CI subspace are updated, eliminating per-Hamiltonian retraining and Gibbs sampling.
3. **Joint training with periodic CI expansion.** Between training updates the generator proposes configurations for each training Hamiltonian, which are merged into the selected space, rediagonalized, and used to refresh the training distribution and physical context.
4. **Measured accuracy gains under matched budgets.** On the 20-qubit H₁₀ chain, TGen-SQD reaches mean energy errors of 40.18 ± 1.52 mHa (seen geometries) and 43.97 ± 1.20 mHa (unseen geometries), 12.7% and 11.7% lower than the PIGen-SQD baseline under matched target-shot and proposal budgets.

## Main Findings

- **Headline accuracy:** TGen-SQD with transfer learning achieves 40.18 ± 1.52 mHa on in-distribution geometries and 43.97 ± 1.20 mHa on zero-shot geometries, against PIGen-SQD's 46.02 ± 0.74 and 49.81 ± 0.89 mHa — relative reductions of 12.7% and 11.7%.
- **Transfer learning itself contributes:** The individually trained variant, TGen-SQD (w/o TL), reaches 43.53 ± 1.10 mHa (seen) and 46.90 ± 0.77 mHa (unseen). Sharing one generator improves on this by 3.35 mHa and 2.93 mHa respectively, so joint training helps even on targets that were in the training distribution.
- **The individually trained model already beats the baseline:** TGen-SQD (w/o TL) outperforms PIGen-SQD on both geometry sets before any transfer is applied, indicating the physics-informed encoding and tokenization carry part of the gain.
- **Untrained generators help, training helps more:** Base (initial physics-informed space, no model) gives 56.53 / 61.98 mHa. Untrained RBM gives 49.29 ± 0.50 / 53.85 ± 0.75 mHa and untrained GRU gives 50.27 ± 1.00 / 54.13 ± 1.14 mHa, showing that sampling and CI expansion alone recover useful configurations; training then lowers error further in both model families.
- **Training stability:** Over 1,200 updates, validation prediction loss falls from 1.047 to 0.745 and then levels off, while validation energy improvement rises from 2.58 to 8.11 mHa under a fixed generation budget.
- **Margin grows with budget:** As the cumulative number of generated bitstrings increases across six rounds of 1,270 proposals (7,620 total, including duplicates), TGen-SQD's mean error stays below PIGen-SQD's and below the individually trained variant on both seen and unseen geometries.
- **Zero-shot degradation is modest:** The frozen shared generator loses about 3.79 mHa moving from seen (40.18) to unseen (43.97) geometries, and still retains an advantage over PIGen-SQD on the unseen set — evidence that shared training captures transferable electron-occupation patterns.

## Methodology in Plain English

The team starts with a chain of ten hydrogen atoms in the STO-3G basis, which takes 20 qubits, 10 spatial orbitals, and 10 electrons with five α and five β. They train on nine bond lengths from 1.10 to 1.50 Å in 0.05 Å steps. Validation, seen-test, and unseen-test sets each hold four geometries, spanning 1.125–1.425 Å, 1.15–1.45 Å, and 1.175–1.475 Å respectively in 0.10 Å steps.

For each Hamiltonian they simulate a two-repetition, CCSD-initialized LUCJ circuit with ffsim using 256 ideal shots, collect the measured determinants, add the Hartree–Fock determinant and perturbative anchors up to excitation rank three, deduplicate, and classically diagonalize the resulting subspace. That diagonalization yields an energy and a coefficient for each determinant. The training dataset for each Hamiltonian keeps only determinants other than the HF reference whose coefficient magnitude exceeds 10⁻⁹, and samples them in proportion to |c|.

Rather than feeding raw bitstrings, they compress each configuration into one token per spatial orbital by combining the α and β bits into a value in {0, 1, 2, 3} — empty, α-only, β-only, doubly occupied. A bitstring of 1100 1001 becomes the token sequence 3102. To predict each token, the model is given the previous token's embedding, 42 orbital features for the current orbital, and 8 global system features, all concatenated as context. A single GRU layer with 64 hidden units and 16-dimensional token embeddings produces four logits; occupations that would make the required α and β electron counts unreachable are masked out.

Training minimizes the negative log-likelihood averaged over Hamiltonians and over orbital tokens, using minibatches balanced across Hamiltonians, 1,200 Adam updates at learning rate 5e-4, and minibatch size 128. Every 200 updates the configuration space is expanded using the generator's own proposals and the target statistics are refreshed. Checkpoints are scored every 100 updates with 2,540 proposals per validation geometry, and the checkpoint with the highest validation energy improvement is kept.

At inference, weights are frozen. Starting from a special start token, the model samples one orbital token at a time, feeding each back in, producing configurations that are decoded to 20-bit strings. New unique proposals and their spin mirrors are merged into the selected space, the subspace is rediagonalized, and the CI-derived features in the context are updated. This repeats for six rounds of 1,270 proposals. Energy error is measured in millihartree against full configuration interaction from PySCF, averaged over four geometries per seed, with mean and 95% confidence intervals across five seeds. Notably, the pipeline is entirely classical simulation with ideal shots; the paper reports no quantum-hardware execution and no wall-clock timing comparison.

## Why This Matters

**Research impact.** The paper reframes configuration selection in SQD as a transfer-learning problem rather than a per-Hamiltonian fitting problem. It also proposes a concrete way to inject a broad set of physical descriptors — orbital energies, one- and two-electron integrals, occupations, geometry, and selected-subspace properties — as explicit conditioning context rather than as hand-designed ranking heuristics. The zero-shot results suggest that occupation patterns learned across a family of geometries generalize, which is a different claim from "a better sampler for one molecule."

**Potential real-world applications** (these are implications of the method, not demonstrations in the paper):

- Computational catalysis, where relative energies along a reaction path require many closely related geometries — precisely the regime where a frozen generator could be reused.
- Battery and electrolyte design, where screening candidate molecular structures demands fast, repeated ground-state estimates.
- Pharmaceutical R&D, where electronic-structure properties of related compounds are computed at scale.
- Photochemistry and excited-state-adjacent workflows that depend on correlated wavefunction quality beyond mean-field theory.

**Industry relevance.** Removing per-Hamiltonian retraining lowers the total cost of running SQD workflows, which matters to groups building quantum-centric supercomputing stacks where quantum sampling time is scarce and classical pre/post-processing dominates. The method is complementary to hardware progress: it targets the classical bottleneck of subspace construction, so it can be layered onto existing LUCJ sampling pipelines. The nine-geometry training set also sets a concrete, reproducible benchmark protocol for comparing config generators.

## Future Directions

- **Scaling beyond H₁₀.** The evaluation is a single 20-qubit linear hydrogen chain in STO-3G. Whether the shared generator transfers at larger qubit counts, in larger basis sets, or on three-dimensional geometries with more varied bonding is untested.
- **Transfer across chemically distinct systems.** The zero-shot sets are interpolations within the same 1.10–1.50 Å bond-length family. Transfer to different molecules, elements, or spin states — and how much target-specific context must change before frozen weights stop helping — is an open question.
- **Budget and architecture sensitivity.** The paper fixes the GRU at one layer and 64 hidden units, temperature T = 2, six rounds of 1,270 proposals, and a rank-three MPPT seed. Sensitivity to each of these, and comparison against larger or attention-based generators, is not reported.
- **Real hardware and real cost accounting.** All results use ideal simulated shots. Behavior under noisy sampling, and a direct comparison of classical training and inference cost against per-target retraining, would determine whether the transferability claim translates into practical savings.

## Target Audience

Researchers and graduate students working at the intersection of quantum chemistry and machine learning — particularly those building hybrid quantum–classical pipelines for ground-state energy estimation, and those interested in learned configuration selection for selected-CI and SQD methods. It is also relevant to practitioners who need to decide whether a per-Hamiltonian trained selector or a single transferable model is the better fit for a screening campaign. Readers without background in second quantization, Slater determinants, and autoregressive sequence models will find the formalism in Sections 2 and 3 dense.

## Authors’ abstract

Sample-based quantum diagonalization (SQD) avoids iterative variational circuit optimization, but its accuracy and cost depend on selecting a compact determinant subspace that captures the ground state. Existing machine-learning selectors use task-specific physical cues and typically retrain for each Hamiltonian. We introduce TGen-SQD, a physics-informed generator jointly trained across multiple Hamiltonians. It learns from configuration-interaction-weighted data and uses…

[The full abstract on arXiv](https://arxiv.org/abs/2611.16080)

[Read the original paper](https://arxiv.org/abs/2611.16080)

## Related papers

- [Lifting: Quantum State Discrimination Framework for Mid-Circuit Measurements](https://quantum.world/paper/lifting-quantum-state-discrimination-framework-for-mid-circuit-2610.18482) 2026-10-13 · quant-ph · Also by Fan Chen, Lei Jiang
- [A Hardware-Trained Generative Quantum Eigensolver for Sample-Based Quantum Diagonalization of Organotin Hydroxides up to 70 Qubits](https://quantum.world/paper/a-hardware-trained-generative-quantum-eigensolver-for-sample-based-2611.13755) 2026-11-10 · quant-ph · Key terms of the title in common
- [Sample-Based Quantum Diagonalization for Variable Molecular Geometries](https://quantum.world/paper/sample-based-quantum-diagonalization-for-variable-molecular-geometries-2610.38701) 2026-10-28 · quant-ph · Key terms of the title in common
- [Quantum Reservoir Computing with Physics-Informed Correction for Reduced-Order PDE Forecasting](https://quantum.world/paper/quantum-reservoir-computing-with-physics-informed-correction-for-2608.23119) 2026-08-24 · quant-ph · Key terms of the title in common
- [Satisfying Quantum Codes: Physics-Informed and Hardware-Aware Code Design with SAT Solvers](https://quantum.world/paper/satisfying-quantum-codes-physics-informed-and-hardware-aware-code-2608.23460) 2026-08-24 · quant-ph · Key terms of the title in common

---

Canonical: https://quantum.world/paper/tgen-sqd-physics-informed-transferable-configuration-generator-for-2611.16080
