2026 Volume 35 Issue 6
Article Contents

Ruiqi Tang, Yanjun Hou, Zhenyue Du, Zhuoyue Xu, Yuquan Chen, Zhaokai Li, Xinhua Peng. Experimental demonstration of quantum optimal control via the alternating control–evolution protocol[J]. Chinese Physics B, 2026, 35(6): 060302. doi: 10.1088/1674-1056/ae56e0
Citation: Ruiqi Tang, Yanjun Hou, Zhenyue Du, Zhuoyue Xu, Yuquan Chen, Zhaokai Li, Xinhua Peng. Experimental demonstration of quantum optimal control via the alternating control–evolution protocol[J]. Chinese Physics B, 2026, 35(6): 060302. doi: 10.1088/1674-1056/ae56e0

Experimental demonstration of quantum optimal control via the alternating control–evolution protocol

  • Received Date: 08/01/2026
    Accepted Date: 15/03/2026
    Available Online: 01/06/2026
通讯作者: 陈斌, bchen63@163.com
  • 1. 

    沈阳化工大学材料科学与工程学院 沈阳 110142

  1. 本站搜索
  2. 百度学术搜索
  3. 万方数据库搜索
  4. CNKI搜索

Figures(5)  /  Tables(2)

Article Metrics

Article views(150) PDF downloads(1) Cited by(0)

Access History

Experimental demonstration of quantum optimal control via the alternating control–evolution protocol

Abstract: As a crucial component of quantum technologies, quantum optimal control enables the high-fidelity engineering of desired quantum states and operations. Conventional approaches, such as the widely used gradient ascent pulse engineering (GRAPE) algorithm, typically rely on dense pulse sequences with a large number of control parameters, leading to inefficient optimization and increased sensitivity to experimental imperfections. In this work, we propose the alternating control–evolution (ACE) protocol, a flexible framework that constructs quantum operations by interleaving elementary control operations with tunable free evolutions, thereby enabling the design of sparse pulse sequences that exploit intrinsic system dynamics. This design substantially reduces the number of control parameters while retaining high expressibility and control fidelity. Numerical simulations on nuclear magnetic resonance systems show that the ACE protocol achieves more than a 20-fold reduction in the number of control parameters compared to GRAPE, with comparable fidelity in state preparation tasks. We further experimentally validate the ACE protocol on a four-qubit NMR platform by preparing a Greenberger–Horne–Zeilinger (GHZ) state with a fidelity of 99.52%. These results demonstrate that the ACE protocol provides an efficient and experimentally robust strategy for quantum optimal control, particularly suitable for the noisy intermediate-scale quantum (NISQ) era.

1.   Introduction
  • Quantum optimal control aims to determine time-dependent control parameters that steer the dynamics of a specific quantum system towards a desired target with high accuracy, such as a specific quantum state or a unitary operation.[1–3] Over the past few decades, quantum optimal control has become a powerful experimental tool and is adopted in extensive applications for advancing quantum technologies,[4–6] including quantum simulation, quantum sensing, and the development of scalable quantum computational devices.[7–9] Various optimization methods have been developed, such as gradient ascent pulse engineering (GRAPE)[10,11] and its variants,[12,13] the stochastic gradient descent (SGD) method,[14] the Krotov method,[15,16] the chopped random basis (CRAB) method,[17,18] and diffusion models.[19] Among these, methods based on a large number of successive, discretized control pulse slices have been particularly successful and have been implemented across various experimental platforms, such as superconducting quantum circuits,[20] circuit QED,[21,22] trapped ions,[23,24] and nuclear magnetic resonance systems.[25] While such dense parametrization provides strong expressive power, it also introduces significant practical challenges. The large number of control parameters leads to a high-dimensional optimization parameter landscape, resulting in high computational overhead and reduced optimization efficiency. In experiments, long sequences of successive control pulse slices tend to amplify the accumulation of systematic errors and are susceptible to hardware imperfections such as finite bandwidth[26] and pulse distortions,[27,28] therefore limiting the accuracy of control operations. These issues motivate the development of novel control strategies capable of achieving comparable performance with a reduced number of control parameters.

    In this work, we introduce the alternating control–evolution (ACE) protocol, a flexible framework for gradient-based quantum optimal control. The key idea of the ACE protocol is to construct the quantum operation by interleaving two elements: control pulse slices and tunable free evolutions, thereby enabling the exploitation of the intrinsic dynamics of the quantum system. This protocol enables the design of sparse pulse sequences with a reduced number of control parameters while retaining high expressibility and controllability. To verify the effectiveness of the ACE protocol, we first conduct numerical simulations of Haar-random quantum state preparation using parameters derived from a realistic nuclear magnetic resonance (NMR) quantum processor. Our results show that by leveraging the natural evolution of the quantum system, the ACE protocol reduces the number of control parameters to 5% of that used in the conventional method while maintaining high control fidelity. As a result, the ACE protocol consistently outperforms the conventional GRAPE algorithm in both optimization efficiency and robustness against noise. Furthermore, we experimentally demonstrate the feasibility of the ACE protocol by preparing a Greenberger–Horne–Zeilinger (GHZ) state on a 4-qubit NMR platform using sparse pulse sequences generated by ACE, achieving an experimental fidelity of 99.52%. These numerical and experimental results demonstrate that the ACE protocol offers an efficient and experimentally robust strategy for quantum optimal control, which is particularly suitable in the noisy intermediate-scale quantum (NISQ) era.

2.   Alternating control–evolution protocol
  • We begin by formulating the quantum state engineering problem. The dynamics of a quantum system are governed by a Hamiltonian that can be decomposed into natural system evolution and external control components:

    where Hsys denotes the natural Hamiltonian dynamics determined by the specific physical system. The control Hamiltonian, arising from time-varying external fields, takes the form

    where the index α denotes the components of the Hamiltonian, and Hα represents the Hamiltonian term associated with the control field of amplitude uα(t). For notational convenience, we define the control vector u(t) as the collection of all control amplitudes {uα(t)}.

    In the problem of closed system state engineering, the objective is to identify the optimal control parameters u(t) that transfer an initial state |ψin〉 (e.g., |0〉⊗n) to a target state |Ψ〉, under a given total evolution time T. Formally, this state transfer task can be cast as a quantum optimal control problem.[10] The infidelity serves as the cost function

    which quantifies the distance between the current operation and the target. Here Utotal denotes the total evolution operator obtained by solving the Schrödinger equation:

    evaluated at t = T.

    To solve this problem, various approaches are employed, which typically rely on dense pulse sequences with a large number of control parameters. The gradient ascent pulse engineering (GRAPE) algorithm is a widely used method to design such control pulse sequences.[10] Throughout this paper, GRAPE refers to the conventional implementation using dense pulse sequences. The large number of control parameters results in a high-dimensional optimization parameter space, which introduces drawbacks both computationally and experimentally. On the computational side, the abundance of variables results in parameter redundancy, which decreases optimization efficiency. On the experimental side, the use of successive control pulse slices amplifies the accumulation of systematic errors and can cause undesirable effects, such as adverse heating effects[29] and increased sensitivity to finite bandwidth[18,26] and pulse distortion[27,28] in practical systems.

  • To address this issue, we propose the ACE protocol for quantum optimal control. As illustrated in Fig. 1, our protocol is constructed from three fundamental components: 1. An elementary control operation; 2. Free evolution governed by the system Hamiltonian; 3. Gradient-based optimization of control parameters.

    The joint integration of these three components, as illustrated in Fig. 1, provides an efficient framework for solving quantum optimal control problems.

    The first component is a short pulse slice of a fixed duration δt, implementing a constant control amplitude within the slice. Specifically, we use the control vector uk to denote the set of control amplitudes in the k-th layer {uα,k}α=1,2,…, where uα,k represents the control amplitude associated with the Hamiltonian term Hα in the k-th layer. The control amplitudes uk in the k-th layer generate the temporal-evolution control propagator

    The physical implementation of these elementary control operations is platform-dependent, offering broad applicability. For instance, they correspond to laser pulses addressing individual ions or atoms in trapped-ion[23,24,30] or neutral-atom systems.[31,32] In superconducting quantum circuits, they are typically achieved via microwave pulses applied to transmon qubits.[20,33] In NMR systems[10] and nitrogen–vacancy (NV) centers,[34,35] radio frequency (RF) pulses act as the elementary control operations.

    The second component introduces free evolution with variable durations τ, which is the key point of the ACE protocol. Here τk denotes the free evolution duration in the k-th layer under the system Hamiltonian Hsys. For the k-th layer, the temporal-evolution free-evolution propagator is given by

    This component is universally applicable across quantum platforms, as every quantum system possesses intrinsic dynamics Hsys that can be leveraged. The intrinsic system dynamics can generate coherent interactions, such as correlations and entanglement, which can be harnessed to achieve quantum optimal control with less external control overhead.

    The first two components combine to form the alternating control–evolution structure that defines the ACE protocol. By alternating between applying elementary control operations and free-evolution periods, we create a sequence of K control–evolution layers, where each layer consists of a control operation followed by a free-evolution period. The natural Hamiltonian dynamics Hsys generate quantum correlations at a slower timescale, while external control fields enable faster and direct operations. Therefore, alternating these two approaches yields a superior strategy for quantum control.

    Let Uk2:k1 denote the composite propagator from layer k1 through layer k2 (for k1 ≤ k2):

    We set u = {uk}k=1,2,…,K to represent all control amplitudes of all the K layers and τ = {τk}k=1,2,…,K to represent the free evolution durations of all K layers. The adjustable parameters to be optimized are the control amplitudes u and free evolution durations τ, forming a combined parameter space (u,τ). The total unitary evolution over the complete sequence of K layers is then given by

    The third component provides the parameter update rule for the above control sequences. Specific formulas will be derived in the next subsection.

    The ACE protocol offers a generalized perspective on quantum control sequence design. The GRAPE approach, which uses long sequences with successive control pulse slices, can be viewed as a limiting case of the ACE protocol, where all free evolution durations are constrained to zero (τk = 0). In this limit, the control pulses are applied without interruption. In contrast, the ACE protocol inherently facilitates sparse pulse sequence design, which allocates the majority of the total evolution time T to free evolution periods, thereby enabling the use of fewer control parameters. In Section 3, numerical comparisons will be made through state preparation tasks with GRAPE.

  • The third component is the optimization process that tailors the protocol for the quantum optimal control task. The optimization parameters of the ACE protocol are the control amplitudes u and the free evolution durations τ, defining the total unitary evolution Utotal(u,τ). By applying the total unitary evolution Utotal(u,τ) to Eq. (3), the cost function can be written as

    aiming to transfer the initial state |ψin〉 to the target state |Ψ〉. Here, uk = {uα,k}α=1,2,… represents the set of all control amplitudes in the k-th layer. To find the specific solution (u*,τ*), the gradient components of the ACE protocol can be computed as

    The coefficient λ is given as

    The left and right operators are given as

    After calculating the gradient ∇L(u,τ) for the cost function, the parameters can be adjusted by the update rule:

    The flexibility of the ACE protocol extends to its optimization strategies. For instance, we implement a two-stage approach: initially optimizing control parameters u with fixed evolution durations τ, then performing joint optimization of both parameter types within a localized region.

3.   Adaptation to NMR quantum systems
  • Having established the ACE protocol framework, we now demonstrate its performance through application to the NMR system, a well-established platform for quantum control experiments. An NMR system consists of an ensemble of nuclear spins that are manipulated through transverse, time-varying magnetic fields.[36] Using Pauli operators {σ^x,σ^y,σ^z}, the Hamiltonian can be expressed as

    Here HNMR is the system Hamiltonian, νj denotes the precession frequency of the j-th spin, and Jij represents the scalar coupling strength between spins i and j. The parameters of the system Hamiltonian HNMR depend on the structure of the samples used. Specific values for the samples used in this work are provided in Appendix B.

    The Hctrl(t) is the control Hamiltonian; the amplitude uα(t) mentioned in Eq. (2) refers to u2j−1(t) and u2j(t), which are associated with the radio-frequency (RF) pulses along the x and y directions. Therefore, the j-th spin is manipulated with RF pulses u2j−1(t) and u2j(t), respectively. The control vector u(t) = {uj(t)}j=1,…,2n contains a total of 2n control parameters to be optimized.

    A crucial constraint in NMR systems arises from homonuclear spins: spins belonging to the same nuclear species share identical control fields, i.e., u2i–1(t) = u2j−1(t) and u2i(t) = u2j(t) for homonuclear spins i and j. Consequently, the effective degrees of freedom for quantum control in NMR are determined by the number of nuclear species rather than the number of individual qubits, presenting a challenge for control algorithm design.

    In the NMR implementation of the ACE protocol, the elementary control operation for the k-th layer takes the form of a controlled RF pulse. This pulse is characterized by control amplitudes uα,k and has a short, fixed duration δt. The free evolution of the second component is governed by the system Hamiltonian HNMR and characterized by variable durations τk. Consequently, each controlled RF pulse is followed by a free evolution period, forming the layered control–evolution sequence of the ACE protocol. For a sequence containing K such layers, the total unitary evolution Utotal is computed according to Eq. (8). To optimize the layered control–evolution sequence, we construct the cost function L(u,τ) as a function of the control amplitudes {uα,k} and evolution durations {τk}. The optimization proceeds by computing both the cost function and its gradient ∇L(u,τ), which guide the parameter updates according to the framework described in Subsection 2.2. The cost function L(u,τ) and the gradient components

    are derived from Eqs. (3) and (10). Through iterative gradient-based optimization, we can minimize L(u,τ) to achieve high-fidelity state transfer from the initial state |ψin〉 to the target state |Ψ〉. Let Nnuclear represent the number of nuclear species, as spins of the same type must be addressed collectively. For a sequence containing K such layers, the number of control parameters to be optimized can be written as K(2Nnuclear + 1), as there are 2Nnuclear control amplitudes and 1 free evolution duration for each layer.

    The constrained layering approach of the ACE protocol naturally leads to sparse pulse sequences with fewer control parameters. The following numerical simulation shows that these sparse sequences can achieve high-fidelity state preparation, exhibiting enhanced optimization efficiency along with robustness against noise.

  • We conducted a prior test to investigate the effectiveness of the ACE protocol, which employs sparse pulse sequences for optimization with fewer parameters. A critical factor influencing this performance is the expressibility, defined as the ability to generate states that can effectively explore the Hilbert space.[37–39]

    Mathematically, our protocol can be described by a parameterized unitary ensemble U(u,τ). Through the unitary ensemble, we can obtain the corresponding state ensemble

    from a fixed reference state |ψin〉 (typically |ψin〉 = |0〉⊗n). The expressibility can be quantified by measuring the deviation between the statistical distribution of ℰframe and the ideal uniform distribution (i.e., the ensemble of Haar-random states).[40] A smaller deviation indicates a higher expressibility, meaning that the protocol can generate states that cover the Hilbert space more uniformly.

    There exists a numerical method that can be employed to evaluate this deviation.[41] We sample a number of parameter vectors {(ui,τi)} uniformly from the allowed space (u,τ) to generate a state ensemble ℰframe. We then compute the overlap O = |〈ψ(ui,τi)|ψ(uj,τj) 〉|2 for each pair of states from this ensemble, thereby constructing an estimated overlap distribution P^frame(O). This distribution is compared with the ideal probability density function of state overlaps for Haar-random states:[42]

    Here O corresponds to the state overlap, and N = 2n is the dimension of the Hilbert space. The deviation between the two distributions is measured using the Kullback–Leibler (KL) divergence:[43]

    Here P^frame is the estimated probability distribution of state overlaps generated from the ACE protocol, and DKL(PHaar‖P^frame) is used to quantify the discrepancy involved in approximating the ideal distribution PHaar with the estimated model P^frame in our ACE protocol. A smaller DKL value indicates a closer statistical agreement with the Haar distribution, implying higher expressibility.

    We assessed the expressibility of the ACE protocol across various system sizes and different control–evolution layers on NMR platforms. It can be seen that the KL divergence exhibits a decreasing trend with the increasing number of control–evolution layers across all investigated systems in Fig. 2(a). According to previous studies,[41] a structure achieves high expressibility when the KL divergence reaches 10−3, which generates quantum states with a nearly uniform distribution in the Hilbert space. As illustrated in Fig. 2(a), our ACE protocol reaches a superior KL divergence of 10−4 with fewer than 100 layers across all system sizes, demonstrating a high expressibility. The number of layers increases modestly with the system size. Furthermore, Fig. 2(b) shows the estimated overlap distribution P^frame(O) at two different KL divergence values. The results further demonstrate that the estimated overlap distribution P^frame(O) closely matches the theoretical Haar distribution PHaar(O) at a KL divergence of 10−4, at which point the statistical properties of the state ensemble ℰframe approach those of the ideal Haar-random ensemble. These results suggest that the ACE protocol exhibits high expressibility with sparse pulse sequences, implying its potential for state preparation tasks.

  • After evaluating the expressibility, we apply the ACE protocol to state preparation tasks and proceed to investigate its practical performance, including computational scalability and robustness compared with the GRAPE algorithm.

    To assess scalability, we conducted numerical simulations on systems ranging from 2 to 7 qubits for Haar-random state preparation.[44] For each system size, 500 distinct target states were generated. The task was to transfer the fixed initial state |0〉⊗n to each target state using both the ACE protocol and the GRAPE algorithm. The optimization was carried out using the L-BFGS-B algorithm.[45] Unlike the expressibility test, which sampled the full parameter space (u,τ), the free-evolution durations τk for each layer in the ACE protocol were fixed to a constant value τ in the test of scalability and robustness to enable a direct comparison with the GRAPE algorithm. This means only the first-stage optimization in ACE was utilized, optimizing only the control pulse parameters {uα,k} to reach the same target fidelity as GRAPE. Therefore, the total evolution time TACE of the ACE protocol with K control–evolution layers is given by TACE = K(δt + τ), and the total number of control parameters to be optimized is K × 2Nnuclear. For the GRAPE algorithm with M control pulse slices of fixed duration Δt, the total evolution time is TGRAPE = MΔt, and the total number of control parameters is M × 2Nnuclear. Under a fixed total time constraint TACE = TGRAPE = T, an appropriate number of layers K was chosen through prior tests to allow the optimizer to converge to the fidelity threshold. Subsequently, with the control slice duration δt fixed, the corresponding τ is determined by the relation τ = T/K − δt; detailed information can be found in Appendix A.

    Our results show that the ACE protocol achieves successful convergence with a fidelity of 99.7%, utilizing sparse pulse sequences with 10 ∼ 100 control–evolution layers across the tested 2-qubit to 7-qubit systems. The total number of control parameters to be optimized is (10 ∼ 100) × 2Nnuclear. In contrast, under an identical total evolution time T and fidelity requirement, the GRAPE algorithm uses 500 ∼ 2700 control pulse slices. The total number of control parameters to be optimized is (500 ∼ 2700) × 2Nnuclear. Our ACE protocol achieves more than a 20-fold reduction in the number of control parameters compared to GRAPE. It is worth mentioning that the GRAPE algorithm fails to converge when constrained to the same number of control parameters as the ACE protocol. Therefore, the ACE protocol exhibits superior parameter efficiency compared to the GRAPE algorithm. Figure 2(c) shows the runtime for preparing the random states across different NMR system sizes for both methods. It can be seen that the ACE protocol (represented by blue dots) exhibits a stable speedup trend compared to the GRAPE algorithm (represented by red dots). Specifically, the speedup factor is observed to be over 20 times across the tested system sizes, demonstrating an improvement in optimization efficiency. Due to the excessive runtime of the GRAPE algorithm for the seven-qubit case, twenty-five random states are prepared in the seven-qubit simulation for GRAPE. The results reveal that employing our ACE protocol to design sparse pulse sequences enables high-fidelity optimal control with fewer parameters, which outperforms the GRAPE algorithm in optimization efficiency.

    Furthermore, we numerically assessed the robustness of both methods by perturbing the optimized control sequences with Gaussian noise of different amplitude ϵg and evaluating the resulting fidelity loss. The total evolution of the perturbed pulse sequence can be expressed as U(u′,τ), which is influenced by the relative noise amplitude ϵg. The control amplitudes u′ under perturbation can be written as

    With the free evolution durations fixed, the noisy evolution U(u′,τ) can be computed using the perturbed control amplitudes u′ according to Eq. (8). In contrast, the total evolution of the pulse sequence without noise is denoted by U(u,τ), corresponding to the case ϵg = 0. The impact of the noise is quantified by the fidelity between the noisy evolution U(u′,τ) and the ideal evolution U(u,τ), given by

    where d = 2n is the dimension of the Hilbert space. A higher fidelity indicates a smaller accuracy loss caused by the noise, thus signifying better robustness of the control sequence. The results in Fig. 2(d) show that the ACE protocol (represented by blue dots) maintains higher fidelity across the whole tested noise spectrum in contrast to the GRAPE algorithm (represented by red dots). This demonstrates that the ACE protocol exhibits enhanced robustness against control field imperfections.

    Overall, by designing a suitably sparse pulse sequence with the ACE protocol, we can achieve high-fidelity state preparation with fewer parameters. Such sparse pulse sequences yield higher optimization efficiency and enhanced robustness against noise for quantum optimal control tasks.

4.   Experimental verification
  • Following the numerical demonstrations of the ACE protocol’s superior performance, we experimentally validate the protocol through GHZ state preparation on a 4-qubit NMR system. The experiment utilizes a sample of 13C-iodotrifluoroethylene dissolved in d-chloroform. The sample comprises one 13C and three 19F nuclear spins, which can serve as four qubits (see Appendix B for detailed molecular structure and Hamiltonian parameters).[46,47] Due to the homonuclear nature of the three fluorine (19F) spins, they share a common control channel, which constrains the RF pulses applied to this channel to have identical amplitudes. Consequently, the Hamiltonian can be expressed as

    HNMR is the system Hamiltonian and Hctrl(t) is the control Hamiltonian. The k-th layer consists of an elementary control pulse parameterized by four amplitudes {u1,k, u2,k, u3,k, u4,k} applied to the 13C and 19F channels, followed by a free evolution period of fixed duration τk.

    All experiments are conducted on a Bruker Avance III 400 MHz spectrometer at room temperature. The experimental procedure begins with the preparation of a thermal equilibrium state, followed by pseudo-pure state (PPS) initialization using the selective-transition approach.[48] The resulting PPS is given by ρ^pps=1−ϵ16I⊗4+ϵ|0〉〈0|⊗4 with thermal polarization ϵ ≈ 10−5. The fidelity of the prepared PPS is experimentally verified to be approximately 99.71% (see Appendix B for details). For GHZ state preparation, we implement the ACE protocol with a sparse pulse sequence to generate the target state |GHZ〉=12(|0000〉+|1111〉).

    The control sequences are optimized using the L-BFGS-B algorithm[45] starting from random initial parameters. The experimental parameters are set as follows: elementary control pulse duration δt = 20 μs, free evolution period τk = 0.48 ms, and total number of control–evolution layers K = 30. This configuration yields a total of 30 × 4 = 120 control parameters. For direct comparison, the GRAPE algorithm is configured with M = 750 time slices, corresponding to 750 × 4 = 3000 parameters, under the same total evolution time T = 15 ms.

    As shown in Fig. 3(a), the experimental fidelity of the prepared GHZ state, determined through full quantum state tomography, reaches 99.52% for the ACE protocol. Under identical experimental conditions, the GRAPE algorithm achieves a fidelity of 98.05%. Figure 3(b) presents the optimized pulse sequences for both ACE and GRAPE approaches used in the experiment, showing the difference between the sparse pulse sequence and the dense pulse sequence. These experimental results further confirm the numerical results and demonstrate the superior performance of the ACE protocol in terms of both efficiency and robustness.

5.   Discussion and conclusion
  • In conclusion, we have introduced the alternating control–evolution (ACE) protocol for quantum optimal control. The ACE protocol provides a flexible framework that constructs control sequences by interleaving control pulse slices with tunable free evolutions. By exploiting the intrinsic system dynamics, the ACE protocol enables the design of sparse pulse sequences with a reduced number of control parameters while maintaining high control fidelity. Experimental results demonstrate that the sparse design achieves high-fidelity state preparation with fewer control parameters and exhibits enhanced robustness against control-field noise compared to conventional approaches. To further enhance performance and address more complex tasks,[49,50] the ACE protocol could be integrated with advanced optimization strategies, such as tailored cost function design.[51] Moreover, the ACE protocol can be applied to a wide range of applications, including machine learning tasks,[52,53] unitary operation compilation, and non-unitary control in dissipative systems. In this work, we have focused on closed quantum systems, where the dynamics are governed by the Schrödinger equation and evolution is unitary. However, real systems such as the non-Markovian cases[54–56] are often subject to external environments that induce dissipation and decoherence, and the dynamics become non-unitary, requiring a reformulation of the master equation. For such open quantum systems, the evolution equation and the corresponding cost function would need to be modified to include non-unitary channels.[57,58] Furthermore, additional terms accounting for environmental effects, including dissipation and decoherence, could be incorporated into the cost function. These modifications are compatible with our current protocol and can be directly integrated. Overall, the ACE protocol provides an effective and experimentally robust tool for quantum control, particularly important for near-term quantum devices where parameter efficiency and robustness are essential.

Appendix A: Optimization process of the protocol
  • In this paper, we utilize the L-BFGS-B optimization approach[45] to find the optimized control sequences in both the ACE protocol and the GRAPE algorithm. All numerical simulations were performed on a desktop workstation equipped with an Intel® Core™ CPU i7–12700K operating at 3.6 GHz. All numerical examples for state preparation achieved at least a fidelity of 99.7%. Detailed parameters for the nuclear magnetic resonance (NMR) systems of varying sizes will be provided in the subsection.

    The pseudocode for the ACE protocol, as described in the preceding text, can be found in Algorithm 1. Let τk = 0, we obtain the conventional GRAPE algorithm.

Appendix B: Parameter settings for NMR quantum systems
  • The nuclear magnetic resonance (NMR) samples employed in the main text are presented in Table B1, with their respective molecular formulas, system sizes (qubit counts), and key spectroscopic parameters. Each sample provides a unique multi-qubit testbed with precession frequencies νj and J-coupling networks Jij that define the system Hamiltonian. In our practical optimization, we use a rotating frame to simplify computations. Specifically, we select a reference frequency offset o, and the precession frequency ν we used is defined as ν = ω − o, where ω is the laboratory-frame Larmor frequency.

    In NMR systems, the control field Hamiltonian for the k-th layer can be written as

    The gradient components of the ACE protocol are computed as

    where

    The coefficients λ and the left and right operators Uleft, Uright, Uright′ are expressed in Eqs. (11) and (12).

    In the expressibility tests conducted in the main text, we observed a notable increase in the number of layers needed to reach a KL divergence of 10−4 in the 7-qubit case. This is primarily attributed to the weaker Hamiltonian couplings present in the crotonic acid sample (see Table B1). Therefore, the sample requires more layers to achieve the desired expressibility.

    In the GRAPE algorithm, the number of elementary control slices and the total evolution time T for each system size were empirically determined. Then, under the identical total evolution time T, appropriate free-evolution durations τk and number of alternating control–evolution layers K were selected for each system size in the ACE protocol. The parameters of the control sequences constructed by both the ACE protocol and the GRAPE algorithm for each system size mentioned in the journal text can be found in Table B2. In the benchmarking presented, the free-evolution duration in each layer is fixed as τk = τ. The control amplitude uα,k is constrained to the range [−um,um] for the optimizer. For the practical simulation, um is set as follows: 2 × 103 Hz for the 2-qubit case in the GRAPE algorithm; 3 × 104 Hz for the 7-qubit case in the ACE protocol; and 6 × 103 Hz for the remaining cases in both the GRAPE algorithm and the ACE protocol. Additionally, the total evolution time T was much shorter than the system’s relaxation time, thus allowing the entire preparation process to be considered unitary.

    The pseudopure state (PPS) ρ^pps, prepared from the thermal equilibrium state ρeq via the selective-transition approach,[48] serves as the initial state for all quantum control experiments. Figure B1(a) displays the characteristic 13C spectrum of the PPS. The target GHZ state was generated using sparse pulse sequences obtained through our ACE protocol, with its readout spectrum after a rotation of Ry(π/2) on 13C shown in Fig. B1(b). Full quantum state tomography was performed to characterize the prepared states. For the experimental state fidelities with PPS, we initially obtain ρ^ for the PPS through state tomography, where ρ^pps=(1−ϵ)I/16+ϵρ^. To account for the small polarization factor ϵ, we use the result of the PPS state preparation experiment as a standard reference. All other experimental results are then normalized using this reference value, which allows for the estimation of the density matrix ρ^. The fidelity between the target pure state |ψ〉 = |0000〉 and the experimental ρ^ is quantified as F(|ψ〉,ρ^)=〈ψ|ρ^|ψ〉. The resulting reconstructed density matrices for the PPS and GHZ state are shown in Figs. B1(c) and B1(d). The reconstructed PPS achieved a fidelity of 99.71%, while the GHZ state reached 99.52% fidelity, demonstrating the high precision of our protocol for state preparation. Ideal results are provided in Figs. B1(e) and B1(f) for comparison.

Figure (5)  Table (2) Reference (58)

Catalog

    /

    DownLoad:  Full-Size Img  PowerPoint
    Return
    Return