The papers describing the Honeywell trapped ion quantum computer say that rotations of the qubit about an axis in the xy plane of the Bloch sphere are accomplished by applying a slightly detuned pair of lasers whose "beat" frequency matches the frequency of the qubit and whose relative phase determines the azimuthal angle of the rotation axis in the sphere. Using the quantum simulation package QuTiP, I set up the Hamiltonian and solved Schrodinger's equation for this situation. I found that when the photon annihilation operators for the two modes have no relative phase between them, the state evolves in such a way as to reflect rotation about the x axis. This is as expected.
However, in order to get a rotation about the y axis, I need to shift the relative phase of the "beat note" and I don't know what the Hamiltonian would look like.
Here is my code for the Hamiltonian without the phase shift:
wa0=0 #Frequencies
wa1=4*np.pi
w_light = wa1*3000
detuning = wa1-wa0
g_light = 0.02*2*np.pi #Coupling
N = 15 # number of cavity fock states
def hamiltonian(N, g_light, wa0, wa1, w_light, detuning):
a_light1 = -tensor(destroy(N), qeye(N), qeye(2)) #Annihilation operator mode 1
a_light2 = tensor(qeye(N), destroy(N), qeye(2)) #Annihilation operator mode 2
w_light2 = w_light + detuning #Frequency mode 2
sm10 = tensor(qeye(N), qeye(N), Qobj([[0,1],[0,0]])) #Transition from first excited state to ground state
# Hamiltonian without light-matter interaction
H = w_light * a_light1.dag() * a_light1 + w_light2 * a_light2.dag()*a_light2 + \
tensor(qeye(N), qeye(N), Qobj([[wa0,0],[0,wa1]]))
# Light-atom interaction
Hi = g_light*\
(\
a_light1.dag() * sm10 + \
sm10.dag()*a_light1 + \
a_light2.dag()* sm10 + \
sm10.dag()* a_light2 \
)
#Transform to interaction picture
h=[[np.exp(1j*wa0),0],[0,np.exp(1j*wa1)]]
EH=tensor(qeye(N),qeye(N),Qobj(h))
H=EH*Hi*EH.dag()
# It has to be Hermitian
assert H.isherm
return H
Here is my initial state:
atom_state = fock(2,0)
psi0 = tensor(coherent(N,2), coherent(N,2), atom_states[state])
"Coherent" is, of course, a coherent optical state (eigenstate of annihilation operator)