Also known as reinforcement learning · deep RL · neural network · policy gradient · Bayesian optimization
Machine learning offers two things to quantum control. One is new ways to search: reinforcement-learning agents,
neural-network controllers, Bayesian surrogates and tree-search methods. The other is new ways to adapt: control
policies that react to measurement outcomes in real time, learned from simulation or directly from the experiment.
Since the late 2010s these approaches have matched optimal control on standard tasks. They are especially valuable
where classical optimal control struggles: feedback, model-free learning on hardware, and discrete or rugged control
problems.
Reinforcement learning in a nutshell
In reinforcement learning (RL), an agent repeatedly chooses an action (the next piece of the control pulse, a
gate, a measurement), observes the result, and receives a reward (a fidelity, a measurement outcome). It improves a
policy to maximize the expected total reward. Two features make RL attractive here:
Model-free learning. The agent needs only rewards, so it can learn on the device itself, without a Hamiltonian;
Policies, not pulses. The agent learns a rule that maps observations to actions, so it can react to
measurement outcomes, which is exactly what feedback requires.
What has been shown
State preparation. Deep RL finds driving protocols in non-integrable many-body systems with performance
comparable to optimal-control methods. It also exposed a spin-glass-like transition in the space of protocols as a
function of duration [1]; see Control landscapes. A comparative study found that deep Q-learning and
policy-gradient methods outperform the other methods tested when the controls are discretized
[2].
Gates. Agents trained with control noise in the simulation produce fast two-qubit gates that are robust to
leakage and stochastic errors [3]. Deep Q-networks have been applied to single- and two-qubit gate
control [4]. Machine-learning-based optimizers design high-fidelity single-shot three-qubit gates
[5]. On a real superconducting processor, RL designed an error-robust universal gate set
without a model of the Hamiltonian, controls or noise [6]. See Quantum gate synthesis.
Transport. Deep RL found control sequences for transporting a state through quantum dots that outperform the
standard counterintuitive adiabatic sequence, including under detuning, dephasing and losses
[7].
Feedback and error correction. A neural-network agent discovered complete quantum-error-correction strategies
that adapt to measurement outcomes [8]. An agent running as a sub-microsecond-latency neural network
on an FPGA has performed real-time feedback, initializing a superconducting qubit and trained only from measurements
[9]. See Control for quantum error correction and Control electronics & software stacks.
Model-free control of oscillators. Circuit-based RL agents learn to prepare non-classical states of an oscillator
coupled to an ancilla, using rewards built from experimentally available measurements [10]; see
Bosonic & continuous-variable control.
Beyond reinforcement learning
Bayesian optimization builds a probabilistic surrogate of the landscape. It suits expensive, noisy experiments —
for example preparing GHZ states in Rydberg arrays [11], optimizing with very few shots
[12], or optimizing ultracold-atom experiments online [13]. See Closed-loop & in-situ optimization.
Deep exploration. An AlphaZero-style combination of neural networks and tree search explores rugged landscapes
without good initial guesses [14].
Differentiable controllers. When a model is available, a neural-network controller can be trained by
differentiating through the dynamics — model-based RL [15]. Feedback-GRAPE borrows RL ideas
to optimize measurement-conditioned strategies while still taking gradients through the quantum dynamics
[16]. See Automatic differentiation & differentiable programming.
When to use what
Known model, open-loop task. Gradient-based optimal control (GRAPE, GOAT) is usually far more
sample-efficient than RL.
Feedback, adaptivity, discrete actions, or learning on hardware. RL and related methods come into their own.
Expensive, noisy experiments with few parameters. Bayesian optimization.
Tutorials introduce optimal control and RL side by side [17, 18], and a broad
review covers machine learning across quantum technologies [19].
Key papers
Marin Bukov, Alexandre G. R. Day, Dries Sels, Phillip Weinberg, Anatoli Polkovnikov and Pankaj MehtaReinforcement Learning in Different Phases of Quantum ControlPhys. Rev. X8, 031086 (2018)doi
Deep reinforcement learning reaches optimal-control performance in many-body state preparation, and reveals a glass-like transition in the space of protocols.
Thomas Fösel, Petru Tighineanu, Talitha Weiss and Florian MarquardtReinforcement Learning with Neural Networks for Quantum FeedbackPhys. Rev. X8, 031084 (2018)doi
A neural-network agent discovers complete quantum-error-correction strategies with measurement feedback, from scratch.
Murphy Yuezhen Niu, Sergio Boixo, Vadim N. Smelyanskiy and Hartmut NevenUniversal quantum control through deep reinforcement learningnpj Quantum Inf5, 33 (2019)doi
Deep reinforcement learning for fast, leakage- and noise-robust two-qubit gates, by training with control noise.
Yuval Baum, Mirko Amico, Sean Howell, Michael Hush, Maggie Liuzzi, et al.Experimental Deep Reinforcement Learning for Error-Robust Gate-Set Design on a Superconducting Quantum ComputerPRX Quantum2, 040324 (2021)doi
Reinforcement learning on a real superconducting processor designs an error-robust universal gate set without a Hamiltonian model.
Callum W. Duncan, Pablo M. Poggi, Marin Bukov, Nikolaj Thomas Zinner and Steve CampbellTaming Quantum Systems: A Tutorial for Using Shortcuts-To-Adiabaticity, Quantum Optimal Control, and Reinforcement LearningPRX Quantum6, 040201 (2025)doi
A pedagogical tutorial bringing together shortcuts to adiabaticity, optimal control and machine-learning-based control.
Software
JAX — differentiable simulation for model-based learning of controllers
References
Marin Bukov, Alexandre G. R. Day, Dries Sels, Phillip Weinberg, Anatoli Polkovnikov and Pankaj MehtaReinforcement Learning in Different Phases of Quantum ControlPhys. Rev. X8, 031086 (2018)doi
Xiao-Ming Zhang, Zezhu Wei, Raza Asad, Xu-Chen Yang and Xin WangWhen does reinforcement learning stand out in quantum control? A comparative study on state preparationnpj Quantum Inf5, 85 (2019)doi
Murphy Yuezhen Niu, Sergio Boixo, Vadim N. Smelyanskiy and Hartmut NevenUniversal quantum control through deep reinforcement learningnpj Quantum Inf5, 33 (2019)doi
Zheng An and D. L. ZhouDeep reinforcement learning for quantum gate controlEPL126, 60002 (2019)doi
Ehsan Zahedinejad, Joydip Ghosh and Barry C. SandersDesigning High-Fidelity Single-Shot Three-Qubit Gates: A Machine-Learning ApproachPhys. Rev. Applied6, 054005 (2016)doi
Yuval Baum, Mirko Amico, Sean Howell, Michael Hush, Maggie Liuzzi, et al.Experimental Deep Reinforcement Learning for Error-Robust Gate-Set Design on a Superconducting Quantum ComputerPRX Quantum2, 040324 (2021)doi
Riccardo Porotti, Dario Tamascelli, Marcello Restelli and Enrico PratiCoherent transport of quantum states by deep reinforcement learningCommun Phys2, 61 (2019)doi
Thomas Fösel, Petru Tighineanu, Talitha Weiss and Florian MarquardtReinforcement Learning with Neural Networks for Quantum FeedbackPhys. Rev. X8, 031084 (2018)doi
Kevin Reuer, Jonas Landgraf, Thomas Fösel, James O’Sullivan, Liberto Beltrán, et al.Realizing a deep reinforcement learning agent for real-time quantum feedbackNat Commun14, 7138 (2023)doi
V. V. Sivak, A. Eickbusch, H. Liu, B. Royer, I. Tsioutsios and M. H. DevoretModel-Free Quantum Control with Reinforcement LearningPhys. Rev. X12, 011059 (2022)doi
Rick Mukherjee, Harry Xie and Florian MintertBayesian Optimal Control of Greenberger-Horne-Zeilinger States in Rydberg LatticesPhys. Rev. Lett.125, 203603 (2020)doi
Frédéric Sauvage and Florian MintertOptimal Quantum Control with Poor StatisticsPRX Quantum1, 020322 (2020)doi
P. B. Wigley, P. J. Everitt, A. van den Hengel, J. W. Bastian, M. A. Sooriyabandara, et al.Fast machine-learning online optimization of ultra-cold-atom experimentsSci Rep6, 25890 (2016)doi
Mogens Dalgaard, Felix Motzoi, Jens Jakob Sørensen and Jacob ShersonGlobal optimization of quantum dynamics with AlphaZero deep explorationnpj Quantum Inf6, 6 (2020)doi
Frank Schäfer, Michal Kloc, Christoph Bruder and Niels LörchA differentiable programming method for quantum controlMach. Learn.: Sci. Technol.1, 035009 (2020)doi
Riccardo Porotti, Vittorio Peano and Florian MarquardtGradient-Ascent Pulse Engineering with FeedbackPRX Quantum4, 030305 (2023)doi
Luigi Giannelli, Sofia Sgroi, Jonathon Brown, Gheorghe Sorin Paraoanu, Mauro Paternostro, et al.A tutorial on optimal control and reinforcement learning methods for quantum technologiesPhysics Letters A434, 128054 (2022)doi
Callum W. Duncan, Pablo M. Poggi, Marin Bukov, Nikolaj Thomas Zinner and Steve CampbellTaming Quantum Systems: A Tutorial for Using Shortcuts-To-Adiabaticity, Quantum Optimal Control, and Reinforcement LearningPRX Quantum6, 040201 (2025)doi
Mario Krenn, Jonas Landgraf, Thomas Foesel and Florian MarquardtArtificial intelligence and machine learning for quantum technologiesPhys. Rev. A107, 010101 (2023)doi
Recent papers
262 tracked papers since 2000 are classified
under this topic. See all ·
Feed
The use of reinforcement learning (RL) in the design of quantum control strategies for pulse level control of NISQ era quantum devices is attracting growing interest. Model-free RL, not requiring preexisting knowledge of the physical system, acts as a black-box optimization tool well suited for noisy devices. In this work, we provide a simulation-based analysis of the performance of model-free RL for state preparation and qubit gate design in a challenging setup: indirect control of NV nuclear spins in a spin-bath. In particular, the spin-bath is modeled via the generalized cluster correlation expansion accounting for magnetic impurities and intra-bath interactions. We analyze the performance of the RL agents by performing simulations with minimally observable environments and noisy, sparse rewards as introduced in (Phys. Rev. X 12, 011059), and compare them to other state-of-the-art black-box optimization tools.
Massive mechanical oscillators couple directly to forces, accelerations and gravity, making them attractive probes of new physics and of quantum mechanics at macroscopic scales. Pushing sensitivities beyond the standard quantum limit for signals of unknown phase requires non-Gaussian quantum states, whose metrological advantage has so far been confined to lighter systems such as trapped ions. Here we operate a microgram-scale acoustic mode of a high-overtone bulk acoustic wave resonator as a phase-insensitive quantum-enhanced sensor. A transmon qubit prepares the mode in Fock states of up to seven phonons by optimal control, and resolves its phonon-number distribution after interaction with a weak resonant signal. Bayesian analysis yields a Fisher information five times the vacuum value, a 7.0 dB gain in signal-amplitude sensitivity over any classical probe state, irrespective of its energy, currently limited by state preparation infidelities. We then train a neural network on the measured sensor response to perform Bayesian estimation without any analytical model of the system, showing the same sensitivity gain with half the systematic bias. Our results establish acoustic resonators prepared in non-Gaussian states as quantum-enhanced probes for high-frequency gravitational waves, dark matter and wave-function collapse.
The use of artificial intelligence (AI) in physics research is increasingly common, yet few guidelines exist for its effective use. Starting with a principles-based approach, we outline a set of ten requirements for collaborative AI agents in experimental physics, spanning scientific norms, effective agent use, and domain expertise. We take a human-centered approach in which agents act as collaborators that amplify rather than replace the expertise of a human researcher (user) who directs the work and is responsible for its results. We then present a framework designed to enforce these requirements, detailing methods for improving off-the-shelf behavior of large language models (LLMs) with custom scaffolding and describing general-purpose scientific workflows and skills. In particular, we highlight the power of closed-loop campaigns where agents work iteratively toward a well-defined goal. We demonstrate the potential of this mode of research through six case studies in experimental physics, covering device design, hardware control, neural network optimization, physical model identification, and data analysis. All six case studies result in useful work products that add utility to our research, including a neural network architecture and solid-state quantum defect photodynamic model that substantially outperform our published work; a microwave waveguide design that extends a published design concept to a fabrication-ready device meeting our experimental constraints; a quantum control pulse sequence candidate that improves simulated performance by more than an order of magnitude; commissioning of an NMR spectrometer to $\sim$1~Hz frequency precision on live hardware; and finally a data-fitting pipeline that achieves, to our knowledge, the first reconstruction of the Ising microstate of an artificial spin-ice array from diffraction-limited magnetic imaging.
Fast and accurate qubit-state assignment is essential for feedback, calibration, and error correction in quantum processors. In superconducting platforms, frequency-multiplexed readout makes this task intrinsically multivariate as measured traces can encode crosstalk, qubit-state relaxation events, and other transient nonidealities that are not fully captured by conventional matched filtering. Here, we introduce spiking neural network (SNN) discriminators for superconducting qubit readout. By processing the measurement window in successive time chunks, the networks exploit temporal structure and update classification scores as data arrive, rather than waiting until the end of the readout window. The spiking networks outperform matched-filter discrimination and approach the accuracy of a full-trace artificial neural network. Beyond reaching the performance of artificial neural networks, the key advantage of SNNs is that they provide a streaming, time-resolved estimate of the qubit state that evolves as the readout signal is acquired. Using quantisation-aware training and hls4ml synthesis, we further demonstrate that each FPGA inference update can be completed before the next readout chunk arrives. These results establish spiking neural networks as a promising route to low-latency, real-time qubit readout on FPGA hardware, with broader implications for time-critical quantum-control and scientific-inference applications.
Variational hybrid quantum models are a common paradigm for realising machine learning on quantum hardware. Nonetheless, they are challenging to train due to several problems intrinsic to the loss landscapes formed by variational quantum circuits. To mitigate these issues, researchers have extended the idea of subspace controllability leading to an increase in the success rate of variational models in finding the global minimum for quantum-based tasks. However, it remains unknown whether these results extend to classical-based tasks, and if any advantages are realised over a hyperparameter search. We begin to address this question by employing controllable circuits in a multi- classification task using MNIST-1D. Our results show that over a hyperparameter search, the majority of quantum models that achieve the lowest training and validation losses are subspace controllable. These results indicate that the hyperparameter search can be restricted to such models, in turn reducing computational cost and time.