| Home > Publications database > Towards Differentiable Beam Dynamics Modeling in BLAST/ImpactX |
| Journal Article/Contribution to a conference proceedings/Contribution to a book | PUBDB-2025-03643 |
; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ;
2025
JACoW Publishing
Geneva
ISBN: 978-3-95450-261-5
This record in other databases:
Please use a persistent id in citations: doi:10.18429/JACoW-NAPAC2025-TUP101 doi:10.3204/PUBDB-2025-03643
Abstract: Differentiable simulations are in demand in accelerator physics, demonstrating order-of-magnitude improvements for complex tasks such as many-parameter optimization for accelerator working points and reconstruction of hard-to-measure quantities. At its core, a differentiable simulation does not only solve a forward problem, but additionally provides gradients of output parameters (e.g. beam parameters) with respect to input parameters (e.g. beamline or source parameters).How to effectively program large dynamic simulations differentiably is still an open question, but there is general consensus that a “single-source” approach aided by automatic differentiation (AD) is desirable. Addressing this, there are a) emerging domain-specific languages in machine learning that are intrinsically differentiable, and b) highly-performing & scalable, general-purpose languages like ISO C++ of existing codes. The challenge of approach a) is syntax specialization, which can limit ease of implementation & performance for physics algorithms, while b) requires additional work for AD.Performance is important for modeling high-order beam dynamics and collective effects in accelerators. We compare the fast, modern codes ImpactX (C++/Python) and Cheetah (PyTorch) using traditional, gradient-free modeling. We then show progress in introducing single-source differentiability in ImpactX using modern compiler techniques, producing performant executables for gradient-based and gradient-free modeling.
Keyword(s): Accelerator Physics ; mc5-beam-dynamics-and-em-fields - MC5 – Beam Dynamics and EM Fields ; simulation ; GPU ; acceleration ; laser ; electron ; electronics
|
The record appears in these collections: |