SearcharxivSearch

arXiv subjects

Ji Qiang

Publications and source records attributed to Ji Qiang.

At least 19 recordsLinked to original sources

Generalized space-charge solver for three-dimensional converging or diverging beams

Nonlinear space-charge effects play a critical role in the dynamics of high-intensity, high-brightness beams. While conventional space-charge forces scale inversely with the square of the relativistic Lorentz factor ($\gamma$) as beam energy increases, this suppression may not apply to all components of the electromagnetic force. In this paper, we present a generalized space-charge solver that accounts for contributions from transverse currents in three-dimensional (3D) converging or diverging beams. We demonstrate that these additional forces from transverse currents lack an explicit dependence on $\gamma$, potentially rendering them significant in specific high-energy applications. We provide a semi-analytical solution for a 3D converging or diverging beam with the Gaussian density distribution and identify the regimes in which these transverse current forces become comparable to conventional space-charge forces. Furthermore, we present a numerical solution for the generalized model applicable to arbitrary density distributions. Finally, we evaluate the impact of these forces on strongly converging electron beams within the interaction regions of the FCC-ee and ILC, as well as the second bunch compressor of LCLS-II-HE; our results indicate that these extra forces do not significantly alter the final electron beam quality in these specific cases.

physics.acc-ph

Two-and-a-half dimensional symplectic space-charge solver

The nonlinear space-charge effect plays a significant role in high-intensity accelerators and has been extensively studied using multi-particle tracking methods. In this paper, we present a novel 2.5-dimensional symplectic space-charge solver specifically designed for long beam bunches. We begin by detailing its application to a transverse Gaussian density distribution under open boundary conditions in a straight system, where a semi-analytical expression is derived. We then demonstrate the solver's adaptation to arbitrary distributions in open space, as well as within rectangular and round conducting pipes. Finally, we discuss the extension of this solver to circular accelerator systems. This study shows that the fast 2.5-dimensional solver can be a good approximation to the fully three-dimensional solver for long bunches in large circular accelerators.

physics.acc-ph

The Memory Scaling of Reverse-Mode Differentiation in Particle Accelerator Simulations with Space Charge

The recent development of differentiable simulation codes for particle accelerators has enabled gradient-based workflows that promise finer control and more realistic modeling of accelerator facilities. However, when using reverse-mode automatic differentiation, the memory usage continuously increases during the simulation, and can potentially exceed the available hardware memory -- especially when costly space charge computation is included. To study the memory requirements for differentiable simulations, we have implemented space charge in Cheetah, a PyTorch-based beam tracking code that supports reverse-mode differentiation. We find that the memory usage for reverse-mode differentiation grows linearly with the number of macroparticles and cells, and that it is proportional to the number of space charge kicks involved in the simulation. This general scaling can be used to evaluate whether a given differentiable simulation is feasible given hardware memory constraints.

physics.acc-ph

Wasserstein-type Gaussian Process Regressions for Input Measurement Uncertainty

Gaussian process (GP) regression is widely used for uncertainty quantification, yet the standard formulation assumes noise-free covariates. When inputs are measured with error, this errors-in-variables (EIV) setting can lead to optimistically narrow posterior intervals and biased decisions. We study GP regression under input measurement uncertainty by representing each noisy input as a probability measure and defining covariance through Wasserstein distances between these measures. Building on this perspective, we instantiate a deterministic projected Wasserstein ARD (PWA) kernel whose one-dimensional components admit closed-form expressions and whose product structure yields a scalable, positive-definite kernel on distributions. Unlike latent-input GP models, PWA-based GPs (\PWAGPs) handle input noise without introducing unobserved covariates or Monte Carlo projections, making uncertainty quantification more transparent and robust.

stat.ME

Physics-Guided Inverse Design of Optical Waveforms for Nonlinear Electromagnetic Dynamics

Structured optical waveforms are emerging as powerful control fields for the next generation of complex photonic and electromagnetic systems, where the temporal structure of light can determine the ultimate performance of scientific instruments. However, identifying optimal optical drive fields in strongly nonlinear regimes remains challenging because the mapping between optical inputs and system response is high-dimensional and typically accessible only through computationally expensive simulations. Here, we present a physics-guided deep learning framework for the inverse design of optical temporal waveforms. By training a light-weighted surrogate model on simulations, the method enables gradient-based synthesis of optical profiles that compensate nonlinear field distortions in driven particle-field systems. As a representative application, we apply the approach to the generation of electron beams used in advanced photon and particle sources. The learned optical waveform actively suppresses extrinsic emittance growth by more than 52% compared with conventional Gaussian operation and by approximately 9% relative to the theoretical flattop limit in simulation. We further demonstrate experimental feasibility by synthesizing the predicted waveform using a programmable pulse-shaping platform; incorporating the measured optical profile into beamline simulations yields a 31% reduction in the extrinsic emittance contribution. Beyond accelerator applications, this work establishes a general way for physics-guided inverse design of optical control fields, enabling structured light to approach fundamental performance limits in nonlinear photonic and high-frequency electromagnetic systems.

physics.optics

A compact accelerator for MHz high repetition rate soft x-ray free electron laser

High-brightness X-ray Free Electron Lasers (FELs) produce spatially and temporally coherent pulses on attosecond to femtosecond timescales, providing a transformative tool for discovery across biology, chemistry, physics, and materials science. This paper proposes a compact accelerator that enables a high-repetition-rate (MHz) 1 nm soft X-ray FEL with a footprint of less than 100 meters. Such an FEL is suitable for installation within research institution settings where space is limited. The accelerator leverages a multi-turn recirculating linear accelerator that integrates state-of-theart superconducting accelerator technology with recent advances in diffraction-limited storage rings. We present the conceptual layout and analyze the impact of two most challenging factors for such a compact accelerator, incoherent and coherent synchrotron radiation. We have systematically studied both effects for different multi-bend achromat lattices and electron beam peak currents. For a peak current of 60 Ampere before final compression and using 11-bending magnets, the horizontal emittance growth after the 90-degree arc can be kept below 10%, demonstrating that these effects are not limiting factors for achieving high-quality electron beams. Such a compact X-ray FEL facility would substantially reduce both construction and operational costs, greatly expanding access to these powerful research tools. Furthermore, this concept provides a potential upgrade path to generating hard X-ray radiation by incorporating high accelerating gradient structures to further accelerate a portion of the MHz electron beam.

physics.acc-ph

Upstream Laser-based Longitudinal Enhancement of Relativistic Photoelectrons

Controlling the longitudinal phase space of high-brightness relativistic electron beams is crucial for advancing a broad spectrum of charged-particle-based instrumentation and scientific frontiers. A generalized method for achieving this control involves manipulating the photoemission laser's temporal distribution at the picosecond level, a long-standing technical challenge. Recent developments in laser shaping have enabled the creation of high-power, picosecond-scale symmetrical and asymmetrical temporal profiles, capable of fine-tuning complex space-charge dynamics and external field effects in relativistic charged-particle beams. Here, we demonstrate that rather than deviations from theorized, idealized laser distributions, a controlled asymmetry can be harnessed to counteract accelerator-induced distortions. By implementing spatiotemporal shaping of the ultraviolet photocathode laser at the LCLS-II superconducting injector, we achieve deterministic control over the longitudinal phase space without downstream corrections. We find that this optical asymmetry induces a self-linearizing effect across both low (40 pC) and high (80 pC) charge regimes, effectively suppressing nonlinear compression and energy chirp. Consequently, this approach is expected to preserve a low emittance comparable to that of ideal flattop or regular Gaussian profiles, while delivering superior current uniformity and shot-to-shot stability. These results establish spatiotemporal laser shaping as a compact, generalizable tool for directly optimizing beam brightness at the source.

physics.optics

Study of fully coupled 3D envelope instability using automatic differentiation

Auto-differentiation is a powerful tool for computing derivatives of simulation results with respect to given parameters. In this letter, we have applied this tool to investigate the instability of a dynamics system that is governed by 21 ordinary differential equations. This second-order instability (named envelope instability) is driven by space-charge effects and has significant impact on the operational regimes of particle accelerators. Our study delves into the three-dimensional envelope instability, incorporating both transverse and longitudinal coupling. Conventionally, analyzing this complex system would necessitate solving 441 ordinary differential equations, which is computationally intractable. However, by employing auto-differentiation, we were able to track only 21 equations. This approach allowed us to uncover an additional instability stopband, which arises from space-charge-induced coupling and has not been reported in previous studies. This research highlights the significant advantages of auto-differentiation in analyzing complicated dynamical systems involving a large number of ordinary differential equations.

physics.acc-ph

Beam Halo Formation via Longitudinal-Transverse Coupling in Continuous-Wave Photoinjectors

Beam halo formation poses a critical challenge for high-repetition-rate continuous-wave (CW) free-electron lasers (FELs), directly affecting beam quality and machine protection, as observed during the LCLS-II commissioning. We identify and experimentally validate a previously unrecognized three-step mechanism for halo generation in the photoinjector, arising from coupled longitudinal-transverse dynamics in the low-energy beam. Theoretical analysis reveals that (i) the RF buncher induces an energy-radius correlation, (ii) velocity bunching transforms this correlation into hollowed density structures in the bunch head and tail, and (iii) differential overfocusing of these hollowed regions by downstream focusing forms the observed halo. This mechanism is confirmed by particle-in-cell simulations and direct experimental measurements, including controlled formation of a core-ring profile via solenoid tuning. The results establish the physical origin of the halo and demonstrate a mitigation via buncher compression tuning that reduces halo and downstream loss, supporting sustained high-repetition-rate FEL operation.

physics.acc-ph

Fast chaos indicator from auto-differentiation for dynamic aperture optimization

Automatic differentiation provides an efficient means of computing derivatives of complex functions with machine precision, thereby enabling differentiable simulation. In this work, we propose the use of the norm of the tangent map, obtained from differentiable tracking of particle trajectories, as a computationally efficient indicator of chaotic behavior in phase space. In many cases, a one-turn or few-turn tangent map is sufficient for this purpose, significantly reducing the computational cost associated with dynamic aperture optimization. As an illustrative application, the proposed indicator is employed in the dynamic aperture optimization of an ALS-U lattice design.

physics.acc-ph

Automatic Curation of Large-Scale, High-Quality, Multi-Category Music Source Separation Dataset

Most current music source separation (MSS) methods rely on supervised learning, limited by training data quantity and quality. Though web-crawling can bring abundant data, platform-level track labeling often causes metadata mismatches, impeding accurate "audio-label" pair acquisition. To address this, we present ACMID: a dataset for MSS generated through web crawling of extensive raw data, followed by automatic cleaning via an instrument classifier built on a pre-trained audio encoder that filters and aggregates clean segments of target instruments from the crawled tracks, resulting in the refined ACMID-Cleaned dataset. Leveraging abundant data, we expand the conventional classification from 4-stem (Vocal/Bass/Drums/Others) to 7-stem (Piano/Drums/Bass/Acoustic Guitar/Electric Guitar/Strings/Wind-Brass), enabling high granularity MSS systems. Experiments on SOTA MSS model demonstrates two key results: (i) MSS model trained with ACMID-Cleaned achieved a 2.39dB improvement in SDR performance compared to that with ACMID-Uncleaned, demostrating the effectiveness of our data cleaning procedure; (ii) incorporating ACMID-Cleaned to training enhances MSS model's average performance by 1.16dB, confirming the value of our dataset. Our data crawling code, cleaning model code and weights are available at: https://github.com/scottishfold0621/ACMID.

cs.SD

JuTrack: a Julia package for auto-differentiable accelerator modeling and particle tracking

Efficient accelerator modeling and particle tracking are key for the design and configuration of modern particle accelerators. In this work, we present JuTrack, a nested accelerator modeling package developed in the Julia programming language and enhanced with compiler-level automatic differentiation (AD). With the aid of AD, JuTrack enables rapid derivative calculations in accelerator modeling, facilitating sensitivity analyses and optimization tasks. We demonstrate the effectiveness of AD-derived derivatives through several practical applications, including sensitivity analysis of space-charge-induced emittance growth, nonlinear beam dynamics analysis for a synchrotron light source, and lattice parameter tuning of the future Electron-Ion Collider (EIC). Through the incorporation of automatic differentiation, this package opens up new possibilities for accelerator physicists in beam physics studies and accelerator design optimization.

physics.acc-ph

Synthesizing Particle-in-Cell Simulations Through Learning and GPU Computing for Hybrid Particle Accelerator Beamlines

Particle accelerator modeling is an important field of research and development, essential to investigating, designing and operating some of the most complex scientific devices ever built. Kinetic simulations of relativistic, charged particle beams and advanced plasma accelerator elements are often performed with high-fidelity particle-in-cell simulations, some of which fill the largest GPU supercomputers. Start-to-end modeling of a particle accelerator includes many elements and it is desirable to integrate and model advanced accelerator elements fast, in effective models. Traditionally, analytical and reduced-physics models fill this role. The vast data from high-fidelity simulations and power of GPU-accelerated computation open a new opportunity to complement traditional modeling without approximations: surrogate modeling through machine learning. In this paper, we implement, present and benchmark such a data-driven workflow, synthesising a fully GPU-accelerated, conventional-surrogate simulation for hybrid particle accelerator beamlines.

physics.acc-ph

From Compact Plasma Particle Sources to Advanced Accelerators with Modeling at Exascale

Developing complex, reliable advanced accelerators requires a coordinated, extensible, and comprehensive approach in modeling, from source to the end of beam lifetime. We present highlights in Exascale Computing to scale accelerator modeling software to the requirements set for contemporary science drivers. In particular, we present the first laser-plasma modeling on an exaflop supercomputer using the US DOE Exascale Computing Project WarpX. Leveraging developments for Exascale, the new DOE SCIDAC-5 Consortium for Advanced Modeling of Particle Accelerators (CAMPA) will advance numerical algorithms and accelerate community modeling codes in a cohesive manner: from beam source, over energy boost, transport, injection, storage, to application or interaction. Such start-to-end modeling will enable the exploration of hybrid accelerators, with conventional and advanced elements, as the next step for advanced accelerator modeling. Following open community standards, we seed an open ecosystem of codes that can be readily combined with each other and machine learning frameworks. These will cover ultrafast to ultraprecise modeling for future hybrid accelerator design, even enabling virtual test stands and twins of accelerators that can be used in operations.

physics.acc-ph

CompF2: Theoretical Calculations and Simulation Topical Group Report

This report summarizes the work of the Computational Frontier topical group on theoretical calculations and simulation for Snowmass 2021. We discuss the challenges, potential solutions, and needs facing six diverse but related topical areas that span the subject of theoretical calculations and simulation in high energy physics (HEP): cosmic calculations, particle accelerator modeling, detector simulation, event generators, perturbative calculations, and lattice QCD (quantum chromodynamics). The challenges arise from the next generations of HEP experiments, which will include more complex instruments, provide larger data volumes, and perform more precise measurements. Calculations and simulations will need to keep up with these increased requirements. The other aspect of the challenge is the evolution of computing landscape away from general-purpose computing on CPUs and toward special-purpose accelerators and coprocessors such as GPUs and FPGAs. These newer devices can provide substantial improvements for certain categories of algorithms, at the expense of more specialized programming and memory and data access patterns.

physics.comp-ph

Next Generation Computational Tools for the Modeling and Design of Particle Accelerators at Exascale

Particle accelerators are among the largest, most complex devices. To meet the challenges of increasing energy, intensity, accuracy, compactness, complexity and efficiency, increasingly sophisticated computational tools are required for their design and optimization. It is key that contemporary software take advantage of the latest advances in computer hardware and scientific software engineering practices, delivering speed, reproducibility and feature composability for the aforementioned challenges. A new open source software stack is being developed at the heart of the Beam pLasma Accelerator Simulation Toolkit (BLAST) by LBNL and collaborators, providing new particle-in-cell modeling codes capable of exploiting the power of GPUs on Exascale supercomputers. Combined with advanced numerical techniques, such as mesh-refinement, and intrinsic support for machine learning, these codes are primed to provide ultrafast to ultraprecise modeling for future accelerator design and operations.

physics.acc-ph

Differentiable self-consistent space-charge simulation for accelerator design

The nonlinear space-charge effects in a high intensity or high brightness accelerator can have a significant impact on the beam properties through the accelerator. These effects are included in the accelerator design via self-consistent multi-particle tracking simulations. In order to study the sensitivity of the final beam's properties with respect to the accelerator design parameters, one has to carry out the time-consuming space-charge simulation multiple times. In this paper, we propose a differentiable self-consistent space-charge simulation model that enables the study of the beam sensitivity through only one simulation. Such a model can also be used with gradient-based numerical optimizers for accelerator design optimizations including the self-consistent space-charge effects.

physics.acc-ph