Skip to content
DraconiticResearch
Search Sources API
194,161 studies31 sourcesUpdated just now
PreprintarXiv licencearXiv

HELIX: a hybrid envelope-multiparticle linac code with differentiable space-charge optimization

Abstract

HELIX (Hybrid Envelope-multiparticle LInac eXplorer) is a Python hadron-linac framework developed at Fermilab for the PIP-II superconducting H- linac. It combines exact-gradient matching through a self-consistent nonlinear particle-in-cell (PIC) space-charge solve with the lattice-card workflow used for machine design. One TraceWin-format lattice drives an rms-envelope solver with 3-D linearized space charge, a multiparticle tracker with a 3-D FFT PIC solve, and linear matrix analysis over one data model, and the constraint cards that steer six classical matching algorithms also steer a differentiable seventh, which re-expresses a fixed-energy subset of the tracking-plus-PIC map as a single PyTorch graph and returns reverse-mode Jacobians exact to floating-point precision at a cost set by the number of constraints rather than of knobs. On a six-quadrupole manufactured verification problem the exact-Jacobian run reaches a tolerance-normalized residual of 3.2×10−10, some 200 times below the finite-difference endpoint at the same forward-equivalent budget; the Jacobian cost is flat in the knob count, with the crossover between ten and twelve knobs and reverse mode 1.45 times faster at sixteen. Verification is hierarchical, from analytic envelope references through 10−9-10−13 cross-implementation PIC parity to TraceWin benchmarks on the PIP-II low-energy, medium-energy and accelerating lines: with space charge on, the rms moments along the MEBT and half-wave-resonator line agree within 0.7%, and over the 186-m linac the energy agrees within 0.03% and transmission within the combined statistical uncertainty. HELIX also provides machine-learned field-map surrogates, Pareto exploration, error Monte Carlo with orbit correction, failure compensation, and RFQ transport, with NumPy, C++/OpenMP, CUDA and Metal backends.

Related

  1. A Differentiable Ray-Wave Framework for Hybrid Refractive-Diffractive System Modeling and Optimization
    Jiazhou Cheng, Margaret Gao, Yixuan Shao +3
    arXivPreprintarXiv licenceFull textComputational physicsOptics & photonicsarXiv
  2. Measurement-Efficient Differentiable Quantum Architecture Search for Combinatorial Optimization
    Lukas Theißinger, Thore Gerlach, Christian Bauckhage
    arXivPreprintarXiv licenceFull textQuantum physics & quantum informationarXiv
  3. Warp-Geo: Differentiable Geometry Representation for Dynamic-Boundary Simulation and Shape Optimization
    Weijie Zhang, Xiantao Fan, Jian-Xun Wang
    arXivPreprintCC BY 4.0Full textComputational physicsarXiv
  4. Semiempirical Quantum Chemistry in the Age of ab initio Data and Differentiable Programming: II. Parameter Optimization
    Martin Stöhr, Todd J. Martínez
    ChemRxivPreprintCC BY-NC-NDFull textAtomic, molecular & optical physicsChemRxiv
  5. Differentiable Schwarz-Coupled Solvers for Thin Boundary Layer Transport: Inverse Modeling via Agentic AI Optimization
    Siva Viknesh, Amirhossein Arzani
    arXivPreprintCC BY 4.0Full textComputational physicsFluid dynamicsarXiv
BibTeX
@misc{pathak2026helix,
  title = {{HELIX: a hybrid envelope-multiparticle linac code with differentiable space-charge optimization}},
  author = {Abhishek Pathak},
  howpublished = {arXiv},
  year = {2026},
  month = sep,
  doi = {10.48550/arxiv.2609.04421},
  eprint = {2609.04421},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2609.04421},
}
RIS
TY  - UNPB
TI  - HELIX: a hybrid envelope-multiparticle linac code with differentiable space-charge optimization
AU  - Abhishek Pathak
PY  - 2026
DA  - 2026/09/03
PB  - arXiv
DO  - 10.48550/arxiv.2609.04421
UR  - https://arxiv.org/abs/2609.04421
AB  - HELIX (Hybrid Envelope-multiparticle LInac eXplorer) is a Python hadron-linac framework developed at Fermilab for the PIP-II superconducting H- linac. It combines exact-gradient matching through a self-consistent nonlinear particle-in-cell (PIC) space-charge solve with the lattice-card workflow used for machine design. One TraceWin-format lattice drives an rms-envelope solver with 3-D linearized space charge, a multiparticle tracker with a 3-D FFT PIC solve, and linear matrix analysis over one data model, and the constraint cards that steer six classical matching algorithms also steer a differentiable seventh, which re-expresses a fixed-energy subset of the tracking-plus-PIC map as a single PyTorch graph and returns reverse-mode Jacobians exact to floating-point precision at a cost set by the number of constraints rather than of knobs. On a six-quadrupole manufactured verification problem the exact-Jacobian run reaches a tolerance-normalized residual of 3.2×10^−10, some 200 times below the finite-difference endpoint at the same forward-equivalent budget; the Jacobian cost is flat in the knob count, with the crossover between ten and twelve knobs and reverse mode 1.45 times faster at sixteen. Verification is hierarchical, from analytic envelope references through 10^−9-10^−13 cross-implementation PIC parity to TraceWin benchmarks on the PIP-II low-energy, medium-energy and accelerating lines: with space charge on, the rms moments along the MEBT and half-wave-resonator line agree within 0.7%, and over the 186-m linac the energy agrees within 0.03% and transmission within the combined statistical uncertainty. HELIX also provides machine-learned field-map surrogates, Pareto exploration, error Monte Carlo with orbit correction, failure compensation, and RFQ transport, with NumPy, C++/OpenMP, CUDA and Metal backends.
ER  -