Acessibilidade / Reportar erro

Simulating single-spin dynamics on an IBM five-qubit chip

Abstract

In this paper we show how the IBM superconducting chips can be a powerful tool for teaching foundations of quantum mechanics for undergraduate students (for graduates as well, in some cases). To this end, we briefly discuss about the main elements of the IBM Quantum Experience platform necessary to understand this paper, i.e., how to implement operations and single-qubit measurements. We experimentally study the dynamics of single spin systems interacting with static and time-dependent magnetic fields. First, we study the resonant behavior of a single spin coupled to a time-dependent rotating magnetic field. To end, we study the Larmor precession phenomenon. In both cases we show the theoretical and real experimental implementation. This article could be useful in introductory courses on quantum mechanics and nuclear magnetic resonance foundations, for example.

Keywords:
superconducting chips; quantum mechanics; single spin systems; Larmor precession; nuclear magnetic resonance

1. Introduction

In traditional courses of quantum mechanics where we introduce the notion of single-spin dynamics, some interesting results are discussed in a theoretical way, without any experimental implementation or verification. On the other hand, simulating quantum physics is an interesting task that we can explore in the IBM Team's quantum plataform, namely, the IBM Quantum Experience (IBM-QE) [1][1] https://quantum-computing.ibm.com/composer.
https://quantum-computing.ibm.com/compos...
. From such platform we have access to a five-qubit system [2][2] B. Schumacher, Phys. Rev. A 51, 2738 (1995). in which we can manipulate it from unitary operations (unitary operators) and measurements. This platform has been used to experimentally confirm some theoretical results on quantum information and computation [3[3] M. Berta, S. Wehner and M.M. Wilde, New J. Phys. 18, 073004 (2016).-[4] D. García-Martín and G. Sierra, Journal of Applied Mathematics and Physics 6, 1460 (2018). [5] R.P. Rundle, P.W. Mills, T.Tilma, J.H. Samson and M.J. Everitt, Phys. Rev. A 96, 022117 (2017). [6] G.W. Dueck, A. Pathak, M. Mazder Rahman, A. Shukla and A. Banerjee, arXiv:1810.00129 (2018). 7[7] K. Das and A. Sadhu, arXiv:1810.03390 (2018).] as well as to implement high technology quantum protocols like teleportation [8[8] A.C. Santos, Rev. Bras. Ensino Fís. 39, e1301 (2017).,9[9] S. Fedortchenko, arXiv:1607.02398 (2016).], among others [10[10] N.N. Hegade, A. Das, S. Seth and P.K. Panigrahi, arXiv:1904.12187 (2019).-[11] S. Mahanti, S. Das, B.K. Behera and P.K. Panigrahi, Quantum Inf. Process. 18, 219 (2019). [12] S.I. Doronin, E.B. Fel'dman and A.I. Zenchuk, Quantum Inf. Process. 19, 68 (2020). [13] S.J. Devitt, Phys. Rev. A 94, 032329 (2016). [14] A. Zhukov, S. Remizov, W. Pogosov and Y.E. Lozovik, Quantum Inf. Process. 17, 223 (2018). 15[15] O. Viyuela, A. Rivas, S. Gasparinetti, A. Wallraff, S. Filipp and M.A. Martín-Delgado, arXiv:1607.08778 (2018).].

Methods to circumvent experimental limitations of teaching quantum physics have been considered in literature through simulations [16[16] J.R. Merrill, Am. J. Phys. 40, 138 (1972).-[17] G. Benenti and G. Strini, Am. J. Phys. 76, 657 (2008). 18[18] J.P. Grivet, Am. J. Phys. 61, 1133 (1993).], experimental proposal in quantum optics [19][19] J. Skaar, J.C. García Escartín and H. Landro, Am. J. Phys. 72, 1385 (2004)., nuclear magnetic systems [20][20] T.F. Havel, D.G. Cory, S. Lloyd, N. Boulant, E.M. Fortunato, M.A. Pravia, G. Teklemariam, Y.S. Weinstein, A. Bhattacharyya and J. Hou, Am. J. Phys. 70, 345 (2002). and classical implementation of quantum computers [21][21] Y. Vianna, M.R. Barros and M. Hor-Meyll, Am. J. Phys. 86, 914 (2018).. By using a different approach, in this paper we discuss how useful the IBM-QE can be in a physics teaching scenario, where we develop a didactic strategy to deal with the problem of experimentally present foundations of single-spin dynamics in presence of a magnetic field, including time-dependent fields. To this end, we first present the relevant elements that we need to know before starting the simulation of the examples we will present here. We discuss about the unitary operators that we will use in our simulations and how we can implement measurements in IBM-QE. By the way, we adopt an approach which allows us to introduce how measurement of some physical quantities are performed in a Nuclear Magnetic Resonance (NMR) experimental setup [22][22] I. Oliveira, R. Sarthour Jr, T. Bonagamba, E. Azevedo and J.C. Freitas, NMR quantum information processing (Elsevier, Oxford, 2011).. Then, we discuss about the first interesting phenomena of single-spin dynamics, namely spin resonance phenomena, associated with a spin-12 particle in presence of a strong static field along z-direction and a rotating magnetic field. We discuss how the resonance phenomenon emerges from a suitable choice of the rotating magnetic field frequency and how it allows us to promote transitions between “spin up” and “spin down” states of the system, even when such rotating field is weakly interacting with the system [22[22] I. Oliveira, R. Sarthour Jr, T. Bonagamba, E. Azevedo and J.C. Freitas, NMR quantum information processing (Elsevier, Oxford, 2011).,23[23] M.A. Nielsen and I.L. Chuang, Quantum Computation and Quantum Information: 10th Anniversary Edition (Cambridge University Press, New York, 2011), 10th ed.]. To conclude, we study the Larmor spin precession behavior.

2. The IBM Quantum Experience

The five-qubit IBM quantum chip is composed by five superconducting transmon qubits operating at a temperature scale around 15 mK [24[24] https://www.research.ibm.com/ibm-q/learn/what-is-quantum-computing/.
https://www.research.ibm.com/ibm-q/learn...
-[25] J. Koch, T.M. Yu, J. Gambetta, A.A. Houck, D.I. Schuster, J. Majer, A. Blais, M.H. Devoret, S.M. Girvin and R.J. Schoelkopf, Phys. Rev. A 76, 042319 (2007). 26[26] J.A. Schreier, A.A. Houck, J. Koch, D.I. Schuster, B.R. Johnson, J.M. Chow, J.M. Gambetta, J. Majer, L. Frunzio, M.H. Devoret et al., Phys. Rev. B 77, 180502 (2008).]. A superconducting transmon qubit is composed of two coupled Josephson junctions, with Josephson energy EJ and capacitance CJ [27][27] Y. Makhlin, G. Schön and A. Shnirman, Rev. Mod. Phys. 73, 357 (2001)., and shunted by an additional external capacitance CE, as shown in Fig. 1a. As sketched in Fig. 1b, this system presents a quantized energy levels structure En, where two of these energy levels (the two lowest-energy levels) are used as an artificial qubit for quantum computation, since quantum coherence is observed in such systems [28][28] H. Paik, D.I. Schuster, L.S. Bishop, G. Kirchmair, G. Catelani, A.P. Sears, B.R. Johnson, M.J. Reagor, L. Frunzio, L.I. Glazman et al., Phys. Rev. Lett. 107, 240501 (2011).. Because the Josephson junctions are superconducting devices, the system is composed by a large number of Cooper pairs (a pair of electrons), where the collective effect of these pairs allows us to use a superconducting qubit as “artificial atom”. In particular, we can use it as a two-level system. For this reason, this system is not a genuine two-level quantum system, like spin-1/2 particle in presence of a magnetic field or the polarization states of light. However, the characteristics and dynamics of superconducting qubits allows us to simulate such systems. For more relevant details about the superconducting transmon qubits, we recommend the Refs [25[25] J. Koch, T.M. Yu, J. Gambetta, A.A. Houck, D.I. Schuster, J. Majer, A. Blais, M.H. Devoret, S.M. Girvin and R.J. Schoelkopf, Phys. Rev. A 76, 042319 (2007).,26[26] J.A. Schreier, A.A. Houck, J. Koch, D.I. Schuster, B.R. Johnson, J.M. Chow, J.M. Gambetta, J. Majer, L. Frunzio, M.H. Devoret et al., Phys. Rev. B 77, 180502 (2008).,28[27] Y. Makhlin, G. Schön and A. Shnirman, Rev. Mod. Phys. 73, 357 (2001).].

Figure 1
(1a) Sketch of the superconducting circuit that constitutes a transmon superconducting qubit, where we have two Josephson junctions with Josephson energy EJ and capacitive energy EC, connected to a external capacitance CE. (1b) The representation (out of scale) of the energy levels of the system, where we highlight the energy levels used as the physical qubit.

In particular, we can perform simulations and real experimental realizations from two different quantum chips, known as the IBM Q 5 Tenerife (ibmqx4) and IBM Q 5 Yorktown (ibmqx2) quantum chips. Particularly, throughout this article we implement the experiments on IBM Q 5 Yorktown quantum chip, due to the good decoherence time scale of its qubits [1][1] https://quantum-computing.ibm.com/composer.
https://quantum-computing.ibm.com/compos...
. In this section we discuss on some important elements of the IBM-QE to be considered in this paper, but more information about IBM-QE quantum chips can be obtained from a number of papers in literature [8][8] A.C. Santos, Rev. Bras. Ensino Fís. 39, e1301 (2017)., as well as from the own IBM-QE team beginners guide [29][29] https://quantum-computing.ibm.com/supportl.
https://quantum-computing.ibm.com/suppor...
.

2.1. IBM-QE single-qubit operations

Single qubit operations are unitary transformations on two level systems which, in a realistic physical scenario, arise as result of a dynamics provided by Schrödinger equation

(1) i | ψ ˙ ( t ) = H ( t ) | ψ ( t ) ,

for some time dependent (or time independent) Hamiltonian H(t). In particular, single-qubit operations can be obtained from different quantum evolutions, as in spin dynamics [20[20] T.F. Havel, D.G. Cory, S. Lloyd, N. Boulant, E.M. Fortunato, M.A. Pravia, G. Teklemariam, Y.S. Weinstein, A. Bhattacharyya and J. Hou, Am. J. Phys. 70, 345 (2002).,30[30] V. Scarani, Am. J. Phys. 66, 956 (1998).] or in a quantum particle in a double-well [31][31] C. Foot and M. Shotter, Am. J. Phys. 79, 762 (2011)., for example. In this paper, the relevant single-qubit operations implementable by the IBM five-qubit chip are

(2) U 1 ( λ ) = [ 1 0 0 e i λ ] , U 2 ( λ , ϕ ) = [ 1 2 e i λ 2 e i ϕ 2 e i ( λ + ϕ ) 2 ] , U 3 ( θ , ϕ , λ ) = [ cos ( θ 2 ) e i λ sin ( θ 2 ) e i ϕ sin ( θ 2 ) e i ( λ + ϕ ) cos ( θ 2 ) ] ,

where λ, ϕ and θ are free real parameters that can be adjusted in accordance with the gate to be implemented. It is possible to see that the gates U1(λ) and U2(λ,ϕ) can be obtained from gate U3(θ,ϕ,λ), but under experimental viewpoint the gates U1(λ) and U2(λ,ϕ) can be more efficient than its counterpart obtained from U3(θ,ϕ,λ). In fact, each gate can be characterized from its run-time (time associated with real pulse sequence on transmon qubits), where the run-time for U1(λ) can be neglected, U2(λ,ϕ) is a gate with duration of 1 unit of gate time and U3(θ,ϕ,λ) has run-time of 2 units of gate time. Therefore, it is most convenient to use the gates U1(λ) and U2(λ,ϕ) whenever possible.

2.2. Measuring physical quantities in a single-spin system

The measurement process in physics depends on the system under consideration [20[20] T.F. Havel, D.G. Cory, S. Lloyd, N. Boulant, E.M. Fortunato, M.A. Pravia, G. Teklemariam, Y.S. Weinstein, A. Bhattacharyya and J. Hou, Am. J. Phys. 70, 345 (2002).,30[30] V. Scarani, Am. J. Phys. 66, 956 (1998).,32[32] M.A. Millhouse and D.C. Latimer, Am. J. Phys. 81, 646 (2013).-[33] C. Gerry and P. Knight, Am. J. Phys. 65, 964 (1997). 34[34] B. Barman and A. Petrou, Am. J. Phys. 87, 275 (2019).]. Here, we are interested in studying a single-spin-12 system driven by magnetic fields which act on it. Thus, since the system can be found in two different orthogonal states | and | associated with different values of the spin component, these states work as a computational basis in a Nuclear Magnetic Resonance based quantum computer [20[20] T.F. Havel, D.G. Cory, S. Lloyd, N. Boulant, E.M. Fortunato, M.A. Pravia, G. Teklemariam, Y.S. Weinstein, A. Bhattacharyya and J. Hou, Am. J. Phys. 70, 345 (2002).,30[30] V. Scarani, Am. J. Phys. 66, 956 (1998).]. In particular, the IBM-QE allows us to implement measurements in computational basis |0 | and |1 |, i.e., given a quantum state |ψ=a|+b|, the measurement outcome provides values for |a|2 and |b|2. Thus, the physical quantities which we can measure in IBM-QE are constrained to a set of measurements that can be obtained from parameters |a|2 and |b|2. For example, if we want to measure the expected value of the spin along z direction, we have

(3) M z = ψ | S z | ψ = 2 ( | a | 2 | b | 2 ) ,

where Sx, Sy and Sz are the spin operators defined as

(4) S x = 2 [ 0 1 1 0 ] , S y = 2 [ 0 i i 0 ] , and S z = 2 [ 1 0 0 1 ] .

Thus, it is possible to compute Mz. In addition, if we want to compute the expected value of spin along x direction, we need to compute Mx= ψ|Sx|ψ. It can be done if we define the operator

(5) H = 1 2 [ 1 1 1 1 ] ,

where one uses the relation Sx=HSzH to write

(6) M x = ψ | H S z H | ψ = ψ x | S z | ψ x ,

with |ψx=H|ψ. In quantum computation, the operator H is a Hadamard gate and it can be implemented on IBM-QE. In conclusion, it means we can measure Mx if we implement a Hadamard gate on the state |ψ and then we measure the output state in computational basis. In a similar way, the measurement of the quantity My= ψ|Sy|ψ can be done by defining the rotation operator

(7) R x ( ξ ) = [ cos ( ξ / 2 ) i sin ( ξ / 2 ) i sin ( ξ / 2 ) cos ( ξ / 2 ) ] ,

that represents a rotation of an angle ξ around X-direction [23][23] M.A. Nielsen and I.L. Chuang, Quantum Computation and Quantum Information: 10th Anniversary Edition (Cambridge University Press, New York, 2011), 10th ed.. Thus, if we implement the operation with ξ=π/2 we get

(8) R x ( π / 2 ) = 1 2 [ 1 i i 1 ] ,

so that we can show that Sy=Rx(π/2)SzRx(π/2), then

(9) M y = ψ | S y | ψ = ψ | R x ( π / 2 ) S z R x ( π / 2 ) | ψ = ψ y | S z | ψ y ,

with |ψy=Rx(π/2)|ψ. Thus, we can measure any spin component along the directions x, y and z. In addition, we can perform measurement of any physical quantity O which can be written as O=Rr^(ϕ)SzRr^(ϕ), where Rr^(ϕ) denotes a rotation of an angle ϕ around direction r^, from equation

(10) O = ψ | O | ψ = ψ | R r ^ ( ϕ ) S z R r ^ ( ϕ ) | ψ

3. Single-spin dynamics on IBM Quantum Experience

The spin is an internal degree of freedom of the electron that can be manipulated through external magnetic fields. In particular, for a spin-12 particle we have two distinct states | and |. These two states satisfy the eigenvalue equation

(11) S z | = 2 | and S z | = 2 | ,

in which is the reduced Planck's constant and Sn=(/2)σn, where σn(n={x,y,z}) denotes the Pauli matrices for a two-level system given by (with i=1)

(12) σ x = [ 0 1 1 0 ] , σ y = [ 0 i i 0 ] and σ z = [ 1 0 0 1 ] ,

so that the matrix form for the basis | and | reads as |=[1 0]t and |=[0 1]t, with superscript “t” denoting the transpose of a matrix.

3.1. Simulating Nuclear Magnetic Resonance phenomenon

Let us consider the coupling dynamics of a single spin-12 with a rotating magnetic field B(t) given by

(13) B ( t ) = B 0 + B rf ( t ) ,

where B0=B0z^ is the field component along the Z-direction and Brf(t) is a time-dependent transverse magnetic fields, given by

(14) B rf ( t ) = B rf [ cos ( ω t ) x ^ + sin ( ω t ) y ^ ] ,

where ω is the rotating frequency of the transverse magnetic field, also known as Radio-Frequency (rf) field. Therefore, the Hamiltonian of the system is written as

(15) H ( t ) = ω 0 2 % σ z + ω rf 2 [ cos ( ω t ) σ x + sin ( ω t ) σ y ] ,

where ω0 is the Larmor frequency and ωrf is the coupling intensity between the spin and the rf-field. The solution of the Schrödinger equation for the system is known and given by (See Appendix A)

(16) | ψ ( t ) = exp [ i ω 2 t σ z ] exp [ i H ˜ t ] | ψ ( 0 ) ,

where

(17) H ˜ = ω 0 ω 2 σ z + ω rf 2 σ x .

In matrix form, we write each evolution operator as

(18) U 0 ( t ) = exp [ i ω 2 t σ z ] = e i ω t 2 [ 1 0 0 e i ω t ] ,
(19) U x z ( t ) = exp [ i H ˜ t ] = [ cos ( Ω t 2 ) + i Δ Ω sin ( Ω t 2 ) i ω rf Ω sin ( Ω t 2 ) i ω rf Ω sin ( Ω t 2 ) cos ( Ω t 2 ) i Δ Ω sin ( Ω t 2 ) ] ,

where Δ=ω0ω is a detuning between the rf-field and the Larmor frequencies, and Ω2=Δ2+ωrf2 is the effective Rabi frequency, which takes into account the effects due to the detuning [35][35] C.K. Hu, J.M. Cui, A.C. Santos, Y.F. Huang, M.S. Sarandy, C.F. Li and G.C. Guo, Opt. Lett. 43, 3136 (2018).. It is worth to mention that the term eiωt2 in U0(t) represents a global phase and can be neglected, as we will do from now on. In particular, here we will simulate the resonance phenomenon, where a small rf-field (|ωrf||ω0|) can be used to flip the spin state when the rf-field oscillation frequency is close to ω0 (|Δ|0). Under this configuration, the operator Uxz(t) becomes

(20) U x z ress ( t ) = [ cos ( ω rf t 2 ) i sin ( ω rf t 2 ) i sin ( ω rf t 2 ) cos ( ω rf t 2 ) ] ,

and the system will evolve as

(21) | ψ ress ( t ) = U 0 ( t ) U x z ress ( t ) | ψ ( 0 ) .

In case where the initial state is given by |ψ(0)= |, we compute the time-dependence of the Z-spin component and we find

(22) M z ( t ) = ψ ( t ) | S z | ψ ( t ) = 2 cos ( ω rf t ) .

Notice that the parameter ω does not develop any role in the above quantity. We choose this particular state because the standard input state in IBM quantum chip is the computational state |0, namely the spin-up state |.

To simulate the spin dynamics of the Eq. (21) we need to map the evolution operators U0(t) and Uxzress(t) into the available parameters in IBM-QE. We mean, from the Eqs. (2) we need to identify the operator U0(t) as U1(λ1) and the operator Uress(t) as U3(θ,ϕ,λ) for a particular choice of the parameters λ, ϕ and θ. A first point to be highlighted is that λ, ϕ and θ are dimensionless parameters, so we need to get a correspondence between the dimensionless parameters of U0(t) and Uxzress(t) with the parameters associated to the operators U1(λ1) and U3(θ,ϕ,λ), respectively. In our case, it is possible to see that U1(ωt)=U0(t) and U3(ωrft2,π2,3π2)= Uress(t). In conclusion, Uress(t) would be simulated through the sequence

(23) U ress sim ( t ) = U 1 ( ω t ) U 3 ( ω rf t 2 , π 2 , 3 π 2 ) ,

The quantum circuit that executes this task is shown in Fig. 2. In Fig. 2a we present the theoretical and experimental data of the spin dynamics for the case where ω=ω0 (resonance situation). To this end, we encode our spin (to be driven by Hamiltonian in Eq. (15)) as the qubit q[2] shown in Fig. 2b. The experimental chip condition is shown in table 1, as provided by IBM team before we start the experimental procedure. In Table 1, we present the frequency ν of the energy gap between states | and | of the two-level system used in experiment, namely, ν=(ΔE/), where ΔE is the difference of energy between excited state and fundamental one. In addition, it is shown the relevant quantities T1 and T2 associated with the natural undesired (decoherence) effects acting on the system (for more details about them, see Sec. B1 fo the Appendix B). Moreover, we present the gate and readout errors in the table. These undesired effects are different from the decoherence ones, in particular the gate error arises from the imprecise control of the pulses used to manipulate the qubit, while readout error takes into account systematic errors and experimental limitations of the evaluation process to measure the spin components of the qubit. A brief discussion on gate and readout errors is considered in Sec.2 of the Appendix B.

Figure 2
(2a) Theoretical (line) and experimental data (dots) of the single spin measurement at resonance (as multiple of /2). In our experiment we set N=Nmax=8192 shots. (2b) Circuit implemented on IBM Q 5 Yorktown chip (ibmqx2), where we highlight the qubit used in experiment (continuum blue line) while the rest of the qubit were disregarded during the experiment (dashed light red lines). The magenta box represents a measurement in computational basis.
Table 1
Physical parameters obtained from last calibration before the experimental implementation shown in Fig. 2. For this experiment, the calibration date is 2019-05-24 08:04:12 AM. See Appendix B for more details about the physical meaning of each quantity in this table.

After implementing the unitary operations (which simulate the dynamics), we measure the Z-spin component in order to see some spin flip in the system (as expected in resonance situation). Up to a small experimental error, the experimental results show a good compatibility with the theoretical expected values. The error bar is computed from relation [36][36] https://quantumexperience.ng.bluemix.net/proxy/tutorial.
https://quantumexperience.ng.bluemix.net...
Δp=πp0(1p0)/N, where N is the number of experimental shots and p0=||ψ|2. It is important to justify here the choice of the qubit q[2] as our working system. As discussed in Appendix B, the scale T1 and T2 times shown in Table 1 are related with the timelife of the coherence in system, so the quantum gates should be implemented during a computation run time TcompT1 and TcompT2. Typically, the time required to implement each gate is of the order of 10 ns, so the circuits used in this manuscript are implemented within a computation run time of the order of few tens of nanoseconds [37[37] G. Wendin, Reports on Progress in Physics 80, 106001 (2017).,38[38] R. Barends, J. Kelly, A. Megrant, A. Veitia, D. Sank, E. Jeffrey, T.C. White, J. Mutus, A.G. Fowler, B. Campbell et al., Nature 508, 500 (2014).]. Consequently, in our particular experiment we do not need to worry with the decohering effects acting on the system. On the other hand, the gate and readout errors are important for our discussion. In order to minimize these errors in our experiment, we used the physical qubit q[2] because it has the best (smallest) gate and readout errors. Eventually, one obtains a different result if one chooses another option. In particular, if we choose the physical qubit q[4], it is not expected a good compatibility of our results with the theoretical expected values.

3.2. Spin precession

Now, as a second application, we discuss the experimental simulation of the Larmor precession phenomenon. Let us consider the system at the initial state

(24) | ψ 0 = cos ( θ 2 ) | + sin ( θ 2 ) | ,

where θ[0,π]. If the system is driven by a time-independent magnetic field along z-direction, i.e., B0=B0z^, the associated Hamiltonian is read as

(25) H 0 = ω 0 2 σ z ,

the evolved state of the system will be given by (up to a global phase)

(26) | ψ ( t ) = U ˜ 0 ( t ) | ψ 0 = cos ( θ 2 ) | + e i ω t sin ( θ 2 ) | ,

where U˜0(t)=eiH0t=diag[ 1 eiω0t ] is the evolution operator. Now, by computing the behavior of the physical quantities defined in Eqs. (3), (6) and (9), we get

(27) M z = 2 cos ( θ ) , M x ( t ) = 2 sin ( θ ) cos ( ω 0 t ) , M y ( t ) = 2 sin ( θ ) sin ( ω 0 t ) .

In order to see the precession behavior, if we define the spin vector Mxy in xy-plane as

(28) M x y = M x x ^ + M y y ^ ,

so that we use the Eqs. (27) and we get

(29) M x y = 2 sin ( θ ) [ cos ( ω 0 t ) x ^ + sin ( ω 0 t ) y ^ ] ,

The geometrical representation of Mxy is a spinning vector around z-axis (in the xy-plane) and its norm is ||Mxy||=|sin(θ)|/2. Therefore, when we define the spin vector M= Mzz^+Mxy we get

(30) M ( t ) = 2 cos ( θ ) z ^ + 2 sin ( θ ) [ cos ( ω 0 t ) x ^ + sin ( ω 0 t ) y ^ ] ,

since Mz=cos(θ)/2. The geometrical representation of M(t) is shown in Fig. 3a. For this reason, we call such dynamics Larmor spin precession or spin precession.

Figure 3
(3a) Sketch of a single-spin inside a static magnetic field along Z-direction, where the precession behavior is highlighted. (3b) Circuit used for each dynamics and measurement implemented on IBM Q 5 Yorktown chip (ibmqx2), where we highlight the qubit used in experiment (continuum blue line) while the rest of the qubits are disregarded during the experiment (dashed light red lines). The magenta box represents a measurement in computational basis and provides us the probabilities {p0x,y,z,p1x,y,z}.

To simulate such dynamics, we need to prepare the initial input state |ψ0, then we implement the evolution as provided by the evolution operator U˜0(t). Then, we measure the spin component along directions x, y and z. Thus, the circuit which simulates the spin precession is shown in Fig. 3 and we can build it following three steps:

  1. The initial state: As mentioned, the IBM-QE has a natural input state given by |0= |, so any algorithm input state should be achieved from it. In particular, the initial state |ψ0 can be obtained from | through the unitary operation

    (31)Uinp=[cos(θ2)sin(θ2)sin(θ2)cos(θ2)].

    The above unitary operator is obtained from the gate U3(θ,ϕ,λ) in Eq. (2) if we set λ=0 ϕ=0. Thus, we have Uinp=U3(θ,0,0).

  2. The evolution: As previously discussed, the evolution as provided by operator U˜0(t) can be achieved through the U1(λ) gate (up to a global phase) whenever we set λ=ω0t.

  3. The measurement: The last circuit step is the measurement. To measure the z-spin component we do not need to implement rotations, since the natural measurement basis of the IBM-EQ is the computational basis (“spin-up ” and “spin-down” basis in our case). The spin measurement along x and y direction are obtained as discussed in Sec. 2.2, so we need to implement a Hadamard (H) gate and Rx=Rx(π/2) gate to measure in x and y basis, respectively.

The experiment of the precession spin was implemented with same qubit as in previous experiment, but with new physical parameters as shown in Table 2. In experiment we have two dimensionless parameters to be adjusted, namely the parameter θ associated with initial state and the quantity ω0t due to the time-dependence of the operator U˜0(t). Thus, we choose two values of θ and we experimentally study the behavior of the physical quantities defined in Eq. (27) as function of ω0t. Since we need to start the protocol with the same state for each measurement, we set the same parameter θ in gate U3 for each circuit of the Fig. 3b, while we vary the parameter λ of the gate U1 used to encode the dimensionless value of ω0t. Given a same initial for all experiments, each circuits in figures provides us the probabilities values p0x,y,z and p1x,y,z, then we obtain a set of experimental values of the quantities Mx,y,zexp(ω0t) from equation

(32) M x , y , z exp ( ω 0 t ) = 2 [ p 0 x , y , z ( ω 0 t ) p 1 x , y , z ( ω 0 t ) ] .
Table 2
Physical parameters obtained from last calibration before the experimental implementation shown in Fig. 4. For this experiment, the last calibration date is 2019-05-29 08:07:25 AM. See Appendix B for more details about the physical meaning of each quantity in this table.

Therefore, it allows us to compare the experimental result with theoretical values given in Eq. (27) and the results are shown in Fig. 4. Again, we compute the error bar for each circuit from relation [36][36] https://quantumexperience.ng.bluemix.net/proxy/tutorial.
https://quantumexperience.ng.bluemix.net...
Δpx,y,z=πp0x,y,z(1p0x,y,z)/N. Thus, we can see the good agreement between theoretical predictions and experimental data.

Figure 4
Spin measurement M (in multiple of /2) along the direction x (dashed black curves), y (dashed red dot curves) and z (continuum blue curves) as function of ω0t for the choices (4a) θ=π/4 and (4b) θ=π/2. In our experiment we set N=Nmax=8192 shots and we implement the circuit on IBM Q 5 Yorktown chip (ibmqx2). Points denote the experimental data obtained from IBM-QE platform.

4. Conclusion

Here we have presented a didactic proposal which can be used to present a more consistent study on quantum single-spin dynamics, where we discussed how to remotely implement its experimental realization in a superconducting quantum processor. To this end, we encourage the use of the IBM-QE platform as a resource for teaching quantum mechanics from an experimental approach, in completeness with the theoretical one. Here we have shown the required elements (quantum gates and measurement) to study single-spin dynamics from IBM-QE systems. As a demonstration of how useful the IBM-QE platform can be, we discuss about two particular and interesting dynamics of single-spin system. As a first example, we have discussed about the resonance phenomena in systems composed of nuclear spins, with high applicability in nuclear magnetic resonance based quantum technologies. To conclude, we have studied the Larmor precession phenomena. Both applications could be experimentally verified. It is worth to highlight that both experiments were implemented in a relatively short time, for our case, in average, it took between 3 and 10 minutes for getting the experimental data file for each execution (each point of the graph).

The single-qubit dynamics studied in this paper can be implementable through different physical systems. For example, by using the photon polarization, a number of half-wave plate and quarter-wave plate can be used to simulate the dynamics. In this system, the readout process can be done through state tomography of the photon polarization. However, because this system needs a laboratory with high technology electronic devices, such laboratories are not accessible for a large number of universities. A second possibility of physical system, which can implement the experiment discussed here can be, is a NMR experimental setup. However, these system are orders of magnitude more expensive than optical ones. Therefore, the IBM-QE project is a possibility of experimental realizations on quantum information and computation for a number of universities around the world.

Acknowledgments

ACS acknowledges financial support from the Brazilian agencies Conselho Nacional de Desenvolvimento Científico e Tecnológico (CNPq), Brazilian National Institute of Science and Technology for Quantum Information [CNPq INCT-IQ (465469/2014-0)] and the Coordenação de Aperfeiçoamento de Pessoal de Nível Superior (CAPES) (Finance Code 001). We are extremely grateful to IBM-QE project and to IBM-QE team for providing the experimental data used in this manuscript. To end, it is important to mention that the results and discussions expressed in this manuscript are the viewpoint of the authors and do not reflect the official policy or position of IBM or the IBM-QE team.

References

  • [1]
    https://quantum-computing.ibm.com/composer
    » https://quantum-computing.ibm.com/composer
  • [2]
    B. Schumacher, Phys. Rev. A 51, 2738 (1995).
  • [3]
    M. Berta, S. Wehner and M.M. Wilde, New J. Phys. 18, 073004 (2016).
  • [4]
    D. García-Martín and G. Sierra, Journal of Applied Mathematics and Physics 6, 1460 (2018).
  • [5]
    R.P. Rundle, P.W. Mills, T.Tilma, J.H. Samson and M.J. Everitt, Phys. Rev. A 96, 022117 (2017).
  • [6]
    G.W. Dueck, A. Pathak, M. Mazder Rahman, A. Shukla and A. Banerjee, arXiv:1810.00129 (2018).
  • [7]
    K. Das and A. Sadhu, arXiv:1810.03390 (2018).
  • [8]
    A.C. Santos, Rev. Bras. Ensino Fís. 39, e1301 (2017).
  • [9]
    S. Fedortchenko, arXiv:1607.02398 (2016).
  • [10]
    N.N. Hegade, A. Das, S. Seth and P.K. Panigrahi, arXiv:1904.12187 (2019).
  • [11]
    S. Mahanti, S. Das, B.K. Behera and P.K. Panigrahi, Quantum Inf. Process. 18, 219 (2019).
  • [12]
    S.I. Doronin, E.B. Fel'dman and A.I. Zenchuk, Quantum Inf. Process. 19, 68 (2020).
  • [13]
    S.J. Devitt, Phys. Rev. A 94, 032329 (2016).
  • [14]
    A. Zhukov, S. Remizov, W. Pogosov and Y.E. Lozovik, Quantum Inf. Process. 17, 223 (2018).
  • [15]
    O. Viyuela, A. Rivas, S. Gasparinetti, A. Wallraff, S. Filipp and M.A. Martín-Delgado, arXiv:1607.08778 (2018).
  • [16]
    J.R. Merrill, Am. J. Phys. 40, 138 (1972).
  • [17]
    G. Benenti and G. Strini, Am. J. Phys. 76, 657 (2008).
  • [18]
    J.P. Grivet, Am. J. Phys. 61, 1133 (1993).
  • [19]
    J. Skaar, J.C. García Escartín and H. Landro, Am. J. Phys. 72, 1385 (2004).
  • [20]
    T.F. Havel, D.G. Cory, S. Lloyd, N. Boulant, E.M. Fortunato, M.A. Pravia, G. Teklemariam, Y.S. Weinstein, A. Bhattacharyya and J. Hou, Am. J. Phys. 70, 345 (2002).
  • [21]
    Y. Vianna, M.R. Barros and M. Hor-Meyll, Am. J. Phys. 86, 914 (2018).
  • [22]
    I. Oliveira, R. Sarthour Jr, T. Bonagamba, E. Azevedo and J.C. Freitas, NMR quantum information processing (Elsevier, Oxford, 2011).
  • [23]
    M.A. Nielsen and I.L. Chuang, Quantum Computation and Quantum Information: 10th Anniversary Edition (Cambridge University Press, New York, 2011), 10th ed.
  • [24]
    https://www.research.ibm.com/ibm-q/learn/what-is-quantum-computing/
    » https://www.research.ibm.com/ibm-q/learn/what-is-quantum-computing/
  • [25]
    J. Koch, T.M. Yu, J. Gambetta, A.A. Houck, D.I. Schuster, J. Majer, A. Blais, M.H. Devoret, S.M. Girvin and R.J. Schoelkopf, Phys. Rev. A 76, 042319 (2007).
  • [26]
    J.A. Schreier, A.A. Houck, J. Koch, D.I. Schuster, B.R. Johnson, J.M. Chow, J.M. Gambetta, J. Majer, L. Frunzio, M.H. Devoret et al., Phys. Rev. B 77, 180502 (2008).
  • [27]
    Y. Makhlin, G. Schön and A. Shnirman, Rev. Mod. Phys. 73, 357 (2001).
  • [28]
    H. Paik, D.I. Schuster, L.S. Bishop, G. Kirchmair, G. Catelani, A.P. Sears, B.R. Johnson, M.J. Reagor, L. Frunzio, L.I. Glazman et al., Phys. Rev. Lett. 107, 240501 (2011).
  • [29]
    https://quantum-computing.ibm.com/supportl
    » https://quantum-computing.ibm.com/supportl
  • [30]
    V. Scarani, Am. J. Phys. 66, 956 (1998).
  • [31]
    C. Foot and M. Shotter, Am. J. Phys. 79, 762 (2011).
  • [32]
    M.A. Millhouse and D.C. Latimer, Am. J. Phys. 81, 646 (2013).
  • [33]
    C. Gerry and P. Knight, Am. J. Phys. 65, 964 (1997).
  • [34]
    B. Barman and A. Petrou, Am. J. Phys. 87, 275 (2019).
  • [35]
    C.K. Hu, J.M. Cui, A.C. Santos, Y.F. Huang, M.S. Sarandy, C.F. Li and G.C. Guo, Opt. Lett. 43, 3136 (2018).
  • [36]
    https://quantumexperience.ng.bluemix.net/proxy/tutorial
    » https://quantumexperience.ng.bluemix.net/proxy/tutorial
  • [37]
    G. Wendin, Reports on Progress in Physics 80, 106001 (2017).
  • [38]
    R. Barends, J. Kelly, A. Megrant, A. Veitia, D. Sank, E. Jeffrey, T.C. White, J. Mutus, A.G. Fowler, B. Campbell et al., Nature 508, 500 (2014).

Publication Dates

  • Publication in this collection
    17 Feb 2020
  • Date of issue
    2020

History

  • Received
    22 Oct 2019
  • Reviewed
    24 Dec 2019
  • Accepted
    30 Dec 2019
Sociedade Brasileira de Física Caixa Postal 66328, 05389-970 São Paulo SP - Brazil - São Paulo - SP - Brazil
E-mail: marcio@sbfisica.org.br