Plan
Quantum machine learning
Can a parameterized quantum circuit learn context-dependent next-token distributions with better parameter efficiency or computational scaling than a comparably sized classical model?
This is a hypothesis we intend to test, not a finding. The pieces we are building let us run it as a controlled comparison: our Rust state-vector simulator will train and evaluate the circuits, adjoint runs the MLP baseline, and the transformer work is the classical sequence-model comparator.
Planned tasks. Small synthetic next-token distributions with a vocabulary on the order of ten tokens and tunable context dependence: bounded parity on windowed input, modular arithmetic over a fixed context length, bounded Dyck-language continuations, and sequences generated by a hidden Markov model whose transition matrix we control. Each task family comes with a procedural data generator so train, validation, and held-out splits are drawn from the same distribution and sized identically across runs.
Representation. Discrete input tokens are mapped to a classical embedding and then to circuit rotation angles (angle encoding) or to computational-basis states (basis encoding); we will test both. Output distributions are read from the Born-rule probabilities over a fixed set of measurement outcomes assigned to vocabulary tokens.
Baselines and comparison. For every circuit configuration we train an MLP, a small causal transformer, and a matrix product state (MPS) Born machine at matched trainable-parameter counts, matched training steps, and matched data budgets, over multiple seeds. The primary metric is held-out next-token cross-entropy (negative log-likelihood per token); we also report training-set NLL and the gap between the two.
Parameter versus computational efficiency. Parameter efficiency is the held-out NLL achieved per trainable parameter. Computational efficiency is a separate axis, argued in circuit depth, two-qubit gate count, and measurement shots required to estimate the output distribution to a target total-variation distance; it is not argued in simulator wall-time, because exact state-vector simulation costs 2ⁿ in the qubit count by construction and would make the circuit look worse than the hardware it stands in for. Any cost comparison with a classical baseline counts the shot budget, since hardware estimates probabilities by sampling while the simulator reads them exactly.
What would falsify it. The hypothesis is unsupported if, across the planned task family and at every matched parameter budget we try, no circuit architecture achieves lower held-out NLL than the best classical baseline. To rule out optimization pathology rather than architectural limits, we will run a barren-plateau check (gradient-variance scan across depth and width per Anschuetz & Gao 2024 and McClean et al. 2018) before concluding that a null result reflects the model class and not the training.
Related work.
- Anschuetz, Hu, Huang, and Gao 2023, “Interpretable Quantum Advantage in Neural Sequence Learning,” PRX Quantum 4, 020338 ↗.
- Anschuetz and Gao 2024, “Arbitrary Polynomial Separations in Trainable Quantum Machine Learning,” arXiv:2402.08606 ↗.
- McClean, Boixo, Smelyanskiy, Babbush, and Neven 2018, “Barren plateaus in quantum neural network training landscapes,” Nature Communications 9, 4812 ↗.
The Anschuetz lines of work use continuous-variable sequence models built from Gaussian operations; we study qubit circuits, and we expect trainability at depth and width to be the main obstacle to any advantage we might find.