Proposal for sequential Stern–Gerlach experiment with programmable quantum processors

2024-02-29 09:17MengJunHu胡孟军HaixingMiao缪海兴andYongShengZhang张永生
Chinese Physics B 2024年2期

Meng-Jun Hu(胡孟军), Haixing Miao(缪海兴), and Yong-Sheng Zhang(张永生)

1Beijing Academy of Quantum Information Sciences,Beijing 100193,China

2State Key Laboratory of Low Dimensional Quantum Physics,Department of Physics,Tsinghua University,Beijing 100084,China

3Laboratory of Quantum Information,University of Science and Technology of China,Hefei 230026,China

4Synergetic Innovation Center of Quantum Information and Quantum Physics,University of Science and Technology of China,Hefei 230026,China

5Hefei National Laboratory,University of Science and Technology of China,Hefei 230088,China

Keywords: sequential Stern–Gerlach,quantum circuit,quantum processor

1.Introduction

The Stern–Gerlach (SG) experiment, which was conducted in 1922,served as the initial demonstration of the quantization of the magnetic moment.[1–3]Furthermore, this experiment played a pivotal role in paving the way for modern atomic physics.[4]Interestingly, it was only after the discovery of spin[5]that it became apparent the SG setup was actually measuring the electron spin.[6]Since spin represents the most basic form of a two-level quantum system, the SG experiment and its sequential variant have been extensively employed to elucidate the fundamental principles of quantum mechanics, e.g., statevector, quantum superposition, and quantum entanglement.[7–9]A spin that traverses two SG devices consecutively, each with different measurement directions as depicted in Fig.1(a), would yield distinct outcomes depending on the alteration of the measurement order.This significant deviation from classical theory serves as a clear demonstration of the fundamental feature of quantum theory,namely, the non-commutation of certain observables.[10]The well-known Heisenberg uncertainty relation arises from the non-commutativity of particle position and momentum.[11]In addition to the conventional SG setup,Wigner has proposed an alternative configuration in which two spin paths are combined to restore coherence,as illustrated in Fig.1(b).This arrangement aims to elucidate the difference of entanglement state and mixed state in the context of measurement.[12]The variant configuration referred to as the SG interferometer[13–15]has garnered significant interest in recent times due to its potential in quantum gravity testing.[16]Therefore,the implementation of sequential SG experiments holds immense importance in enhancing our comprehension of quantum theory.

Although the SG setup has already been extensively utilized in previous studies,[17–19]the implementation of the sequential SG setup is not as straightforward as it may appear.Extremely precise calibration and control are necessary, posing a challenge to achieve even in contemporary times.Fortunately, the recent advancements in programmable quantum processors[20–29]have facilitated the possibility of employing an alternative approach to showcase sequential SG experiments.While currently only noisy intermediate-scale quantum(NISQ)processors[30]are accessible,they are deemed adequate for our intended objectives.In this study, we demonstrate the implementation of SG devices with varying measurement orientations through the utilization of parametric quantum circuits.Similar to the existing variational quantum algorithms,[31–33]the classical optimizer is employed to determine the optimal parameters of quantum circuits.[34]The quantum circuits, when configured with optimal parameters,will function as SG devices for the purposes of spin measurement, specifically in the context of qubits.The variational shallow quantum circuit consists solely of nearest-neighbor two-qubit gates,which makes our SG quantum circuits renders them highly compatible with NISQ hardware implementation.In order to enhance the performance of sequential SG experiment, we suggest utilizing cross-shaped quantum processors for executing SG quantum circuits.

Fig.1.A schematic diagram illustrating sequential Stern–Gerlach experiments.(a)Sequential spin measurements are conducted using two SG setups,each with different measurement directions;(b)Wigner’s SG interferometer that recombine two spin paths after the initial SG device.

2.Quantum circuit realization of SG device

According to the quantum measurement theory, the spin of a particle is entangled with its path in the SG device before ultimately collapsing into one of its eigenstates upon interaction with the screen.[35]Since the spin state is destroyed upon measurement, it becomes unfeasible to conduct subsequent measurements.Therefore, it is preferable to employ non-destructive measurement techniques,wherein the state of spin can be inferred from the measurement of probe without causing any damage to the system.In the context of a quantum circuit analogy, the concept of spin is substituted with a qubit,while additional qubits within the circuit serve as probes to deduce which-way information pertaining to the spin.The gate operations within the quantum circuit establish entanglement between the qubit and the probe.At the end of the quantum circuit, measurements are conducted on the probe in order to deduce the state of the qubit, thereby achieving a non-destructive measurement.The crucial aspect is to devise a quantum circuit that effectively entangles the qubit and the probe, resulting in the creation of a cat-like state.For instance, when the measurement is conducted on the ˆσZbasis,we expected that the final state of the circuit, for any arbitrary qubit state expressed in the ˆσZbasisa|0〉S+b|1〉Swith|a|2+|b|2=1,be

The aforementioned SG quantum circuits can be implemented using parametric quantum circuits, as depicted in Fig.2.In our previous study,[36]the quantum circuit of Fig.2(a) has been constructed to generate a cat-like state in the ˆσZbasis,as described by Eq.(1).Similar to the SG setup that is utilized for spin measurement, our parametric quantum circuits, with their specially designed circuit structure,serve as a means of qubit measurement.The process of optimizing circuit parameters can be likened to the calibration process of the SG setup prior to conducting official measurements.Once the optimal parameters has been established in the circuit, any qubit in the statea|0〉+b|1〉that is input into the circuit will produce the cat-like state, as exemplified by Eq.(1).This cat-like state allows for the extraction of qubit information through the measurement of probe qubits.This process bears resemblance to the SG setup,which involves the entanglement of spin with its corresponding which-way path,described asa|↑〉|up〉+b|↓〉|down〉.The circuit is initially prepared in the state|ψ0〉=(a|0〉S+b|1〉S)⊗|+〉⊗2Nby applying Hadamard gates on probe qubits, whereN=3 in this particular case.The selection of 2Nprobe qubits in this study is primarily motivated by two key factors.The first issue to consider is the presence of measurement errors,which can be mitigated by employing multiple probe qubits to minimize the occurrence of misreading to a negligible level.The second issue pertains to the current NISQ devices, which are plagued by noisy operations.Consequently, it is imperative to limit the number of qubits in order to ensure accurate and effective calculations.The evolutionary component of the circuit comprisesmlayers of similar gate operations including a total of 2mparameters.Each layer is composed of parametric twoqubit gatesZZ(γ)= eiγˆσZˆσZapplied to the nearest qubits, as well as single-qubit rotation gateX(β)= eiβˆσXapplied to the probe qubits.The ultimate state of the parametric circuit will be

withγ={γ1,...,γm}andβ={β1,...,βm}.In principle,increasing the number ofmleads to improved output results of the optimized circuit.However,current NISQ processors only support low depth circuit for effective calculations.We observe that the value ofm=3 is sufficient in the case whereN=3, as demonstrated in Fig.2 through simulation results.The circuit depth is limited to the application of only nearestneighbor two-qubit gates, which enhances the feasibility of implementing our circuit on existing NISQ hardware.To implement the SG quantum circuit in the ˆσZbasis, it is necessary to determine the optimal parameters (γ*,β*) such that|γ*,β*〉=|Ψ〉f.The determination of the optimal parameters (γ*,β*) can be achieved through the application of the variational method, utilizing the cost function〈γ,β| ˆH|γ,β〉,in which ˆH=-∑2Nk=1ˆσkZˆσk+1Zis the Ising Hamiltonian with nearest-neighbor interactions.The minimization of cost function output the desired optimal parameters (γ*,β*).Since the lowest energy value of ˆHis known, the closeness of optimized cost function to this value reflects the quality of catlike state preparation.This procedure bears resemblance to the calibration of the device before official measurements.Specifically, the initial state of the measurement qubitqsis set to|0〉,followed by the execution of the circuit to calculate the〈γ,β| ˆH|γ,β〉using randomly assigned initial parameters.The classical optimizer,such as COBYLA,is utilized to minimize the cost function,and the optimal parameters is obtained once the convergence condition has been met.The optimal parameters (γ*,β*) are adjusted in the circuit, thereby completing the SG quantum circuit.

Fig.2.Quantum circuit realization of SG devices.(a) The SG quantum circuit in the ˆσZ basis.(b) The SG quantum circuit in the ˆσX basis.The optimal parameters(γ*,β*)in quantum circuits can be obtained by variational optimization with qs being the definite state,e.g.,|0〉.The second row dosplays the simulation results of two SG quantum circuits with the same optimal parameters.Note that the two quantum circuits are measured in different basis,and the result{0,1}on each qubit corresponds to eigenstates in the measurement basis.

The SG quantum circuit of the ˆσXbasis, as depicted in Fig.2(b), is formed by substitutingZZ(γ) withXX(γ)=eiγˆσXˆσX, andX(β) withZ(β) = eiβˆσZ.We have excluded the Hadamard gates from the circuit as|0〉is already in a superposition state on the ˆσXbasis.Since the measurement of qubits in a quantum circuit only yields results in the form of{|0〉,|1〉}, rotation gatesRy(-π/2) are applied to the probe qubits prior to measurement in order to convert the state|+〉to|0〉 and the state|-〉 to|1〉, respectively.We aim to simulate the two SG quantum circuits with different basis using the same optimal parameters (γ*,β*).The results depicted in Fig.2 align closely with the theoretical predictions.Interestingly,the resulting states of the two circuits have the same probability distribution on their own basis.This assertion appears to be reasonable due to the SG setup along theXdirection can be achieved by simply rotating the identical setup along theZdirection.In practical application, however, the optimization is contingent upon the performance of the NISQ hardware and the characteristic of the specific quantum circuit.

In summary, we have put forth a novel variational quantum circuit specifically designed for the current NISQ processors to replicate the functionality of SG setup.In the SG setup,the spin that to be measured becomes entangled with its which-way path described asa|↑〉|up〉+b|↓〉|down〉, where the extraction of which-way information provides us the information of spin state.In the context of the quantum circuit analog,the qubit is utilized to simulate the spin,while the role of the which-way path is replaced by probe qubits that are entangled with the qubit to be measured.The final state of the variational quantum circuit with optimized parameters exhibit a cat-like state represented asa|0〉|0〉+b|1〉|1〉,as described in Eq.(1),in order to successfully simulate the desired outcome of the measurement process in the SG setup.In order to ensure the desired cat-like state in the final circuit,We select the cost Hamiltonian for the variational quantum circuit as the Ising Hamiltonian with nearest-neighbor interactions.This is due to the fact that one of ground states of the cost Hamiltonian is the GHZ state,represented asa|0···0〉+b|1···1〉.The circuit structure depicted in Fig.2 ensures the optimal arrangement of layer, thereby minimizing the cost Hamiltonian.The optimized circuit would result in a cat-like state at the end.The number of parameters in the circuit is determined by how close we want the value of cost function〈γ,β| ˆH|γ,β〉approach the ground state eigenvalue of ˆH.

3.Sequential SG experiment realization

Fig.3.(a) Quantum circuit realization of sequential SG experiment based on cross-shaped quantum processors.The Wigner’s SG interferometer can be demonstrated by just removing all the rotation gates Ry(-π/2).(b) Simulation results with the qubit qS =|0〉S in sequential SG quantum circuit.The first is the measurement result of ˆσZ first and then ˆσX, while the second is the measurement result of ˆσX first and then ˆσZ.(c) Result of the Wigner’s SG interferometer with qS =|0〉S.The blue one implies that the resulting states of probe qubits in the first SG device of ˆσX measurement are even states,while the red one implies that the resulting states are odd states.Even/odd state refers to there are even/odd probe qubits in the state|1〉.The collective states,e.g.,|0〉Z means that majority of probe qubits of ˆσZ measurement are in the state|0〉.

With the availability of SG quantum circuits employing different measurement basis, we are now prepared to delve into the implementation of sequential SG experiments.The quantum circuit depicted in Fig.3(a)illustrates the implementation of the sequential SG experiment.In this experiment, a qubitqSinitially traverses the SG quantum circuit in the ˆσXbasis,and subsequently enters the SG quantum circuit in the ˆσZbasis.This sequential SG quantum circuit, which performs a ˆσXmeasurement followed by a ˆσZmeasurement on the qubitqS, can be considered as a quantum analog of the sequential spin measurement depicted in Fig.1(a).The sequential measurement of the first ˆσZmeasurement and then the ˆσXmeasurement ofqScan be easily achieved by modifying the SG quantum circuits component.The sequential SG quantum circuit is best executed on a cross-shaped quantum processor,as depicted in the right portion of Fig.3(a),with the qubitqSpositioned at the center.The qubits located in the horizontal and vertical lines are utilized for the implementation of SG quantum circuits in the ˆσXbasis and the ˆσZbasis,respectively.In practical applications,it is necessary to conduct on-chip optimization in order to determine the optimal parameters for two SG quantum circuits prior to conducting the experiment.With the utilization of cross-shaped processors,the alteration in the measurement sequence of non-commuting observables ofqScan be achieved by simply modifying the execution order of the horizontal and vertical qubits.

We are now able to engage in a comprehensive discussion on the implementation of Wigner’s SG interferometer, which effectively restores spin coherence subsequent to the initial SG device.It is,nonetheless,not immediately apparent upon initial observation.We will demonstrate that this can be accomplished effortlessly by simply altering the measurement basis of the initial SG quantum circuit.To be concrete,we consider the qubitqSinitially prepared in state|0〉Spassing through a sequential SG quantum circuit,as depicted in Fig.3.Denoting the initial states of the two SG quantum setup as|0〉Xand|0〉Zrespectively, we obtain the final state of the whole system at the end of the circuit as

If the probe qubits (q1–q6) in the initial SG quantum circuit can be projected into the states|+〉X±|-〉X, then the qubitqSwill undergo a collapse and be in either the state|0〉Sor|1〉S.In this particular instance, the Wigner’s interferometer analogy has been implemented.The measurement of the second SG quantum device in the ˆσZbasis will not cause any changes to the state ofqS.It is, however, challenging to accurately project the|+〉X ±|-〉Xstates onto the probe qubits.To address this challenge, it is important to acknowledge that the state|+〉X+|-〉Xexclusively consists of even states{|0〉,|2〉,|4〉,|6〉}, while the state|+〉X-|-〉Xcomprises odd states{|1〉,|3〉,|5〉}.Here the notation|n〉 represents the number of probe qubits in the state|1〉X.This state is referred to as the even/odd state, depending on whethernis even/odd.It is now evident that the measurement of probe qubits on the ˆσZbasis is sufficient,which involves the removal of all rotation gatesRy(-π/2).If the results is either even or odd state,then the qubitqswill collapsed into the|0〉Sor|1〉Sstate.The realization of of Wigner’s SG interferometer using the original SG device is surprisingly achievable with the quantum circuit version.

The sequential SG quantum circuit, consisting of a total of 13 qubits, as depicted in Fig.3(a), is simulated in this study by utilizing the IBMQiskitpackage.[37]The optimal parameters (γ*,β*) are predetermined in the circuit are obtained in advance using the BAQISQcoverpackage.[38]Our simulations are based on the assumption that all qubits and gate operations are ideal,meaning that no circuit noise models are incorporated.The qubitqS,which emulates the spin to be measured as depicted in Fig.1,is initially prepared in the state|0〉S.Figure 2(b)displays the simulation results of sequentially measuring the qubit observables ˆσZand ˆσX.The left panel of Fig.3(b) displays the outcome of measuring ˆσZprior to ˆσX,whereas the right panel shows the outcome of measuring ˆσXprior to ˆσZ.The significant disparity observed when altering the sequence of measurement serves as a clear demonstration of the non-commutative nature of the observables ˆσZand ˆσX.In the outcome presented in the left panel, it is evident that there exists a possibility for the state ofqSto be completely distinct from its original state after the measurement process concludes.The explanation of this phenomenon does not conform to classical principles, but rather arises as a natural outcome of the superposition of quantum states.Figure 3(c)illustrates the simulation outcome of Wigner’s SG interferometer,achieved by eliminating all rotation gatesRy(-π/2)in the sequential quantum circuit.The sampling results of the circuit can be categorized into two groups.The blue category indicates that the resulting states of probe qubits are even states,while the red category indicates that the resulting states are odd states.It is evidence from the results thatqSis restored to the state|0〉S,which represents a coherent state in the basis of ˆσXfor even states.Conversely,for odd state,qSis restored to the state|1〉S.

4.Discussion and conclusion

The previous proposed sequential SG quantum circuit for Wigner’s SG interferometer can also serve as a demonstration of wave-particle duality.This concept is best exemplified by Wheeler’s delayed-choice gedanken experiment.[39]In the delayed-choice experiment, the option to open or close the second beam splitter BSoutwithin the Mach–Zehnder interferometer is available after a single photon has traversed the first beamsplitter.When BSoutis open, the observer can observe the interference pattern.Conversely, when BSoutis closed, the observer can obtain the which-way information of each photon.The wave or particle nature of a photon is solely determined by the type of measurement that performed on it, despite the fact that the photon has already completed its travel.In the Wigner’s SG interferometer circuit,the determination or elimination of the which-way information of the qubitqScan be achieved by the application or removal of rotation gatesRy(-π/2),respectively.If a quantum random number generator(QRNG),which can be an ancilla qubit used to control the application or removal of gatesRy(-π/2), is activated only afterqShas entered into the second SG circuit,then we have successfully implemented the quantum circuit version of the delay-choice experiment.Compared to the optical realization,[41–43]the implementation of the delayed choice operation in a circuit may offer advantages in terms of ease of realization.This is due to the ability to accurately determine the timing of gate operation in advance.By applyingRy(-π/2),we obtain the which way information and the corresponding counting results are displayed in Fig.3(b).Conversely,removingRy(-π/2)eliminates the which-way information,resulting in the counting results displayed in Fig.3(c).Similar to the optical experiment,the presence of odd state in Fig.3(c)can be attributed to the introduction of aπphase in the interferometer.

In conclusion, we have presented the quantum circuits version of SG devices, incorporating different measurement directions.We have provided a comprehensive analysis on the utilization of these devices for the implementation of sequential SG experiments,specifically focusing on Wigner’s SG interferometer.The present study also explores the feasibility of executing Wheeler’s delay-choice gedanken experiment by utilizing a sequential SG quantum circuit.The SG quantum circuit is a parametric circuit with a shallow depth,consisting solely of nearest-neighbor two-qubits gates and single-qubit gates.This characteristic renders it highly suitable for practical implementation in the current NISQ hardwares.We propose that the optimal execution of sequential SG quantum circuits can be achieved through the utilization of cross-shaped quantum processors.These processors can be readily implemented using today’s superconducting qubit chips.We hold the belief that the utilization of quantum circuit version of the SG device offers us a remarkable experimental platform for the purpose of showcasing and investigating the captivating facets of foundational quantum theory.More significantly,the launch of increasing advanced quantum computing cloud platforms that support a range of quantum hardware, such as BAQIS Quafu,[43]enables us to utilize cloud resources for the purpose of investigating the enigmatic aspects of quantum phenomena without the need for a specialized laboratory.

Acknowledgements

Meng-Jun Hu expresses gratitude to Dong E Liu, Peng Zhao and Heng Fan for their valuable discussions.Meng-Jun Hu is supported by Beijing Academy of Quantum Information Sciences.Hai-Xing Miao is supported by the State Key Laboratory of Low Dimensional Quantum Physics and the Start-up Fund provided by Tsinghua University.Yong-Sheng Zhang acknowledges the financial support provided by the National Natural Science Foundation of China (Grant No.92065113)and the Anhui Initiative in Quantum Information Technologies.This study aims to commemorate the centennial anniversary of the SG experiment.

Code availableRelevant code pertaining to this study is accessible upon direct request to the corresponding author.