# Bose-Einstein Condensates in a Cavity-mediated Triple-well

###### Abstract

We investigate the energy structures and the dynamics of a Bose-Einstein condensates (BEC) in a triple-well potential coupled a high finesse optical cavity within a mean field approach. Due to the intrinsic atom-cavity field nonlinearity, several interesting phenomena arise which are the focuses of this work. For the energy structure, the bistability appears in the energy levels due to this atoms-cavity field nonlinearity, and the same phenomena can be found in the intra-cavity photons number. With an increase of the pump-cavity detunings, the higher and lower energy levels show a loop structure due to this cavity-mediated effects. In the dynamical process, an extensive numerical simulation of localization of the BECs for atoms initially trapped in one-, two-, and three-wells are performed for the symmetric and asymmetric cases in detail. It is shown that the the transition from oscillation to the localization can be modified by the cavity-mediated potential, which will enlarge the regions of oscillation. With the increasing of the atomic interaction, the oscillation is blocked and the localization emerges. The condensates atoms can be trapped either in one-, two-, or in three wells eventually where they are initially uploaded for certain parameters. In particular, we find that the transition from the oscillation to the localization is accompanied with some irregular regime where tunneling dynamics is dominated by chaos for this cavity-mediated system.

###### pacs:

42.50.Pq, 03.75.Lm, 05.45.-a## I Introduction

Cavity-mediated Bose-Einstein condensates system (BECs) has been widely investigated as a promising platform to explore the exotic many-body phenomena in recent years both in theory and experiment due to the controllability of both the confining potential geometry and the interatomic interaction Brennecke (); Colombe (). If the cavity resonance and the atomic resonance are in the large-detuning limit, the dispersive regime can be realized. At this stage, the strong coupling between the atoms and the cavity field will induces an additional optical potential for the atoms and exerts significant mechanical forces on the motion of the atoms; meanwhile, the atoms imprint a position dependence phase shift on the cavity field vice versa. As the field adjusts accordingly, the field causes a back action on the atoms, resulting in the nonlinear atom-field interplay Cola (); Slama (); Vukics (); Maschler (); Zhang (); Larson (); Szirmai (). This highly nonlocal nonlinearity is quite different from the usual local atom-atom interactions. As the cavity-atom interaction induces an optical lattice for the atoms, then the cavity-mediated optical lattice model is one of the usual platform for discussing the cavity-mediated ultracold atoms and BECs Ruostekoski (). Based on this nonlinear interactions, the cavity field coupling either to the center-of-mass Murch (); Brennecke1 (); Baumann () or to the spin degrees of freedom Zhou () and to the both cases Larson1 (); Dong () i.e., the nonlinear coupling among the external and internal states are demonstrated. Recently, rapid proposals have been intensely investigated, which gives rise to a number of interesting nonclassical features such as optical bistability Gupta (); Ritter (); Szirmai1 (); Yang (); Prasanna (); Zhou1 (), collective dynamics Keeling () and quantum phase transitions Nagy (); Liu ().

On one hand, a cavity-mediated double-well potential is the simplest case of a multiwell potential for studying the cavity-mediated BECs system, a plethora of novel phenomena, such as strong population transfer, the complex and diverse stationary behaviors and the pseudo-self-trapping effect, have been observed and analyzed in great detail for the this system because of the unique cavity-mediated nonlinearity in the context of cavity quantum electrodynamics Zhang (); Zhang1 (); Larson2 (). The role of dissipation in the system of a light field coupled with ultracold atoms trapped in a two-well optical potential in a lossy cavity is also investigated Chen (). Special asymmetric double-well case is studied too, the results show that the performed numerical simulations on bistability in optical lattice have good agreement with the special asymmetric double-well case described by a two-mode model Zhou1 ().

On the other hand, If one wants to make a extension of the double-well system, the triple well is the straightforward natural one. Compared with the double well system, the difference is essential both in mathematics and physics for the triple well system, which has the following distinguished characteristics. A triple well potential has a much richer structure Mossmann () and can supports the simplest model for exhibiting the effect of next-nearest-neighbor coupling on quantum tunneling Lahaye (), the quantum tunneling may happen between several wells simultaneously, then the tunneling dynamics in the triple well will show more interesting behavior Liu1 (). The study of the triple well system will also provide a bridge between the simple double well and the multiwell systems, as a protype of optical lattices, helping us provide a bottom-up understanding of mechanisms operating in the infinite optical lattice Cao (). Moreover, similarly to the analogue of the double well to the Josephson junction, the triple well is the minimum system that can model the source-gate-drain junction, and draws much attention from the perspective of atomtronics. Considering these reasons, recently, then there is a growing substantial attention in the dynamics of ultracold atomic clouds in triple-well potentials, A variety of proposals to achieve controllable atomic dynamics based on the triple well have been presented extensively by employing the standard models of the Gross-Pitaevskii equation and the Bose-Hubbard Hamiltonian mainly. It includes the eigenstates and the tunneling dynamics Cao (); Graefe (); Lu (); Streltsov (), the transistorlike behavior Stickney (), the adiabatic transport of a hole Benseny (), and the mesoscopic quantum superpositions Lahaye (). However, unlike the optical lattice and double well cases, no work has been studied in the triple well coupled to an optical cavity so far and a fundamental question of whether or not loop structure and chaotic exist is still open. Then theoretical predictions on the dynamics of cavity-mediated BECs system in a triple well are highly desirable. On the contrary, as we will show below, the cavity-mediated BECs system does introduce qualitatively novel physics in triple well systems. We will discuss how the nonlinear interaction leads to s loop structure in the energy band. In addition, we also show how this nonlocal nonlinearity leads to a transition quantum dynamics characterized by striking new phenomena, including the chaotic quantum dynamics.

This paper is organized as follows. In Sec. II the mean-field approximation is employed to map the quantum model into a classical Hamiltonian describing the atoms and the corresponding dynamical equations are derived. In Sec. III we study the optical bistability in the atom-cavity system and achieve how the intra-cavity-photons and energy band structure depends on the cavity detunings. In Sec. IV we investigate the transition to self-trapping of BECs in one well and in two wells, respectively, showing some interesting regions that the chaotic motion and steady behavior emerge alternately. The topics are extended to a tilted triple-well system in Sec. V. Finally, the results are briefly summarized in Section VI.

## Ii the basic model

Consider a BECs system confined to in a triple well coupled to an external single mode of high-finesse optical cavity (schematically sketched as in Fig.(1)). This system may be constructed by splitting a BECs, which is already coupled to a cavity mode, into three weakly linked condensates in many ways. In the large-detuning limit and in the rotating frame at the pump frequency, the Hamiltonian for the condensate system can be written as (=1 throughout),

(1) |

is the condensates Hamiltonian in the three-mode approximation,

(2) | |||||

Where creates (annihilates) an atom in its internal ground state in the traps, is the tunneling matrix element between the nearest modes, while denotes the repulsive interaction strength between a pair of atoms in the same mode. is the zero-energy of the wells. is the external single-mode field Hamiltonian,

(3) |

where and are the cavity-mode frequency and the pump frequency, respectively. is the amplitude of the pump field and varies slowly, . In the limit of large detuning Colombe () and the weak pump field, the atom-cavity field interaction is of dispersive nature, in this sense the upper level of the atoms can be adiabatically eliminated. Under the three-mode approximation for the BECs and dropping the coupling terms between the cavity mode and the atomic tunneling, the interaction Hamiltonian between BECs and the cavity mode can be obtained,

(4) |

where characterizes the strength of the light shift per photon that an atom may experience, with being the atom-cavity mode coupling constant. The parameter denotes the overlap between the atomic mode and the cavity mode. From Eq. (4), one may immediately find that the frequency cavity mode is renormalized due to the atom-field interaction, meanwhile the atom ensemble feels a induced potential. This atom-field nonlinearity will induce novel phenomena in the triple well system. According to the Heisenberg’s equation, a dimensionless Schrödinger equation of this cavity-mediated triple-well system can be written as

(6) | |||||

the cavity loss is induced phenomenologically, which is the dominant dissipation process since spontaneous emission is suppressed under the large detuning approximation. Eq.(2.5) shows that, the dispersive interaction between cavity photons and the condensate atoms introduces an effective light shift to the states . The characteristic values of of the high-finesse optical cavity, the order of Hz, is typically much larger than the spin oscillation frequency with the order of Hz, This means that the cavity mode can follow the condensates wave functions adiabatically. Taking the standard mean-field approximation, we treat the operators and as classical quantities, , , , and . Here are the numbers of atoms in the three wells, and are their phases. The relative phases are and . And the total number of atoms . Then the intracavity field amplitude can be derived from Eq.(2.6)

(7) |

and the intracavity photon number is

(8) |

where and is the coupling difference between the two atomic modes to the same cavity mode. From Eq. (8), one may easily conclude that, the important feature of the cavity-induced effective light shift is that it is sensitive to the population distribution of the condensates in the triple well, which in turn will induce novel nonlinear phenomena in BECs. By introducing three dimensionless parameters , , and named the reduced pumping strength, the reduced detuning, and the reduced loss rate, respectively. The photon number Eq. (8) can be written as

(9) |

where =, and . Then the Eqs. (5) can be rewritten in terms of and the phase difference as

(10) |

(11) |

(12) | |||||

(13) | |||||

where the time is rescaled in units of the Rabi oscillation time 1/(2), . The dimensionless parameter measures the interaction strength against the tunneling strength. From Eqs. (12) and (13), one can find that the cavity field influences the atomic dynamics in the same manner as the the zero-energy, i.e., of the triple wells system, which will lead to a redistribution of the atomic population among different states based on the particle tunneling. Importantly, this cavity-induced effective zero-energy is dependent on the atomic population distribution, as manifested by Eq. (8). It is precisely this interdependence of the atomic dynamics and the intracavity photon number that will result in some interesting nonlinear dynamics of this cavity-mediated system, which is the focus of this paper. Furthermore, a classical Hamiltonian can be constructed, in terms of two pairs of conjugate variables and , and , using , . Such a counterpart mean-field Hamiltonian of the quantum Hamiltonian (1) reads

(14) | |||||

with

(15) |

The first three terms in Eq. (14) are the Hamiltonian of a bare Josephson Hamiltonian as first derived in Ref. Liu1 (). They describe the energy cost due to the zero-energy, the phase twisting between the two condensates and the atom-atom repulsion, respectively. The last term in Eq. (14) is the cavity-mediated interaction. In its nature, this term is similar to the potential felt as the atom passing trough the cavity field adiabatically Haroche (), which tilts the symmetric well. In this paper, we only concentrate on the case that the pump strength is a constant, so that the cavity-mediated triple well system is autonomous and the Hamiltonian (14) is conserved in time.

## Iii The Energy Structure

In this section, we will study the eigenenergies of the condensates in the parameter regime that supports the existence and the conditions for loop structure emergence of the adiabatic lower and higher energy levels in the cavity-mediated triple well system and presents the unique features which make them different from those in the optical lattices and double well. In order to obtain the effects of the nonlinearity to be clearly identified, we chose firstly, which can be achieved via Feshbach resonances or is approximately valid in a sufficiently dilute gas. The cases including the atomic collisions are also calculated in the last part of this section for comparison with the former works Liu1 (). The fixed point or minimum energy point of the classical Hamiltonian system (14) corresponds to the eigenstate of the quantum system. Solving the eigenvalue equation, one can derive the analytical expressions for these fixed points, however, the analytical solutions are lengthy, it is difficult to interpret them, then we restore to the numerical and graphic method to show the new physical effects in them Parameters (). The eigenenergies of the BECs uncoupled or coupled to the cavity field as a function of the zero-point energy bias are shown in Fig. 2, with Fig.2(a) for the uncoupled cases, Figs.2(b)-2(f) for the coupled cases with the increasing detunings. It can be found that the cavity-mediated BECs has a more complex and diverse energy structure. To be special, the coupled cases show the bistability behavior and the loop structure appears, which are not observed in the uncoupled counterpart, which implies that some new stationary points appear in the eigenenergies due to the cavity-mediated interaction. We can see that with the increase of the detunings, the lower energies and show bistability firstly, then the higher energy does too. When the detunings are very large, the bistability behavior disappears for all the energy levels. For the suitable detuings, the lower and the higher energies and show loop structures, which shrinks in size and vanishes as the detuning is further increased. But the energy does not show loop structure for the parameters considered in Fig. (2). Actually, numerical calculation for a wide parameters shows that the energy does not has a loop structure. Seen from Fig. 2(b)-2(f), it can be found that the emergence condition for the bistability are different for different energies. only shows bistability phenomena at near as the detunings is increased, and loop structure disappears for large detunings. show bistability behavior at near when the detuning is relatively small, while for the large detunings, the bistability appears for large . As for , bistability begin to appear at the regions of larger for the large detunings; With the increase of the large detuning, the bistability regimes move towards to the directions of the small zero-energy .

Looped structures have been discussed before for BECs in the ordinary (noncavity) Wu (); Diakonov (); Watanabe (), the cavity-mediated optical lattices Prasanna () and the bare tripe well Liu1 (), respectively, which is important due to the possible wide implications for various systems in condensed matter physics and nuclear physics Watanabe1 (). But the loop structure in Fig. (2) is qualitatively different from the ones, resulting from the interatomic interactions nonlinearity obtained in Ref. Liu1 (). Here the bistability comes from the cavity-induced nonlinearity. It can be understood as follows: Because of the sensitive dependence of the BEC dynamics on the cavity induced potential. The cavity-induced phase shift can effectively result in population redistribution among the three wells even at the single-photon level. The BEC atoms in turn collectively act as a dispersive medium shifting the cavity resonance. Bistability results from this nonlinear feedback between the photons and the atoms in different wells. With the increase of the detunings, the cavity induced potential begin to enhance the triple-well asymmetry felt by the atoms. As a result, the atoms tend to stay in the deep well. This will give rise to a larger population imbalance and shift the cavity resonance, and will again lead to the increase of the probe mode intensity, as can be seen from Eq. (7) by setting detunings.

The trend of the energy structures and intra-cavity photons with respect to the reduced pump-cavity detunings are shown in Fig. 3. We focus on the condition and , respectively. Beginning from case, it can be found that, the level structure is similar to the uncoupled counterpart for the small detuning (). While with an increasing detunings (), the bistable curve appears in the lower energy level, which corresponds to the loop structure of the lower level in Fig. 2(c). In the bistable regions, there are two minima and one maximum that correspond to three different motional modes of the atoms in the third energy. As a consequence of the bistable curves or the loops structure, the existence of the multiple minima value at the fixed reduced detuning is a omnipresent sign of hysteresis Mueller (). When the detuning is larger and exceed the critical value , the bistable curve emerges in the upper level, which corresponds to the loop structure of the upper level in Fig. 2(e). The bistability can also be observed in the same ranges of detunings in the mean intracavity photon number , as shown in Fig. 3(c). The results for cases are shown in Fig. 4, with the increase of the detunings, the energy also shows bistability behavior between and .

Figures 2, 3, and 4 focus on the non-interaction cases. Now we turn to the interacting BECs case. Figure 5 depicts the eigenenergy versus the zero-point energy bias but covering different interaction strengths . As we consider two types of the nonlinearity simultaneously, i.e., the atomic interaction and cavity-mediated nonlinearity. the energy structure is more complex than the one obtained for only one type of nonlinearity mentioned. It is shown that the structure is similar to the noninteraction case () when the parameter is weak (). A loop structure appears at the middle level shown in Fig. 5(b) as is increased (=1). As increases to and , respectively, the loop structures have more complex shapes in the upper level and the middle level as shown in Figs. 5(c) and 5(d). Compared Fig. 5 with Fig. 2, one can find that, this kind of complicated loop structure occurred in the upper and middle levels comes from the nonlinearity caused by the atom-atom interaction Liu1 (). Furthermore, the loop structure of the lower level does not change with the increase of the interatomic interaction as shown in Fig.5. Thus one can see that this loop structure in energy is mainly caused by the nonlinearity generated from the cavity back-action rather than from the direct interatomic interactions.

## Iv tunneling to localization,

In this section, we will perform numerical simulation of localization or self trapping of a BEC in this cavity-mediated triple well system using the solution of the Eqs. (10)-(13). In general, the localization or self trapping is caused by the nonlinear interaction between atoms, then the self trapping of a repulsive BECs system in a bare optical lattice, double well and triple well potential has been investigated firstly both for the dynamical and stationary cases Adhikari (). When considering the coupling to a cavity, the cavity-mediated atoms-field interaction will provide a novel nonlinearity different from the atoms-atoms nonlinear interaction, then the research shows the self-trapping behavior can be modified drastically by the strong condensate-field interplay Zhang (); Zhang1 (); Larson2 () in a double well potential. As mentioned before, the cavity-mediated triple-well system induce a effective potential and tilt the symmetric well as a result. The more asymmetric the well becomes, the more complex the dynamical behavior appears. Then it is interesting to investigate the localization and the self-trapping dynamics in this system. We will calculate the average population of each well for the different initial values with a different parameter in the following. As a benchmark, we firstly discuss the symmetry cases .

### iv.1 localization in one well

Comparing to a bare BECs in the triple-well, here the BECs in the cavity-mediated triple well systems couples to the cavity mode, the atom-cavity interplay terms, the last term of the Hamiltonian (14), will not only change the critical value , but also alter the process of transition to localization. To illustrate this point, we calculate the mean value () of the BECs uncoupled or coupled to the cavity mode for different interaction with the initial conditions and , respectively. The results are presented in Fig. 6. When the BECs are uploaded initially in the left well, shown in Fig.6(b), it can be found that the average populations of each well are more chaotic than the ones of the uncoupled case (Fig. 6(a)), which is due to the reasons that the nonlinearity of the effective atom-cavity induced potential in Eq. (14) tilts the wells and changes the stationary points of the condensates and makes some new motional modes of the atomic oscillation appear, correspondingly the critical value of the transition in the coupled case is larger than the uncoupled one. However, when the BECs are uploaded in the middle well initially, shown in Fig. 6(c) and 6(d), the cavity-mediated nonlinearity does not have a pronounced effects on the transitions. It can be explained as follows: as mentioned before, the atom-cavity induced interaction is equivalent to the zero-energy , which affect the dynamics by tilting the symmetric well. When one put atoms in the middle well, the asymmetry of the wells and does not affect the dynamics of the BECs in well apparently. With the increase of the interaction, the oscillation will be compressed and the BECS atoms will be trapped in the middle well completely. Comparing the coupled cases with uncoupled cases, one can also find that the values of and are different for , which is implied that the BECs atoms in the wells are rearranged when the condensates couple to the cavity.

### iv.2 localization in two- and three-wells

This part will focus on the dynamics of the BECs atoms trapped initially in two- and three-wells with different initial relative phase. We calculate the average value as a function of for different cases. versus with the initial value , , and (the BECs atoms are initially uploaded in wells and ) is shown in Figs. 7. For comparison, the uncoupled cases are also presented. As BECs are uploaded in two wells initially, the interference should be considered, and their initial phase will be important. In general, different initial phase will lead to different behaviors. From Fig. 7, one can find that the coupling to the cavity will generate distinct effects for different relative initial phase. when the relative phase is zero, the atom-cavity coupling will make the smooth oscillation process become chaotic process for the small interaction , as a result the coupling to the cavity will enlarge the chaotic region. While for the relative phase cases, this atom-cavity nonlinearity will decrease the chaotic region. With the increase of the interaction, the atoms will be trapped in wells and for the relative phases and zero, respectively. When the relative phase is set to , compared Fig. 7(f) with Fig. 7(e), one can find that the atom will be trapped in wells and from small interaction , but the atoms in each well oscillate quickly and the atoms can not be trapped easily in each well. Furthermore, the cavity interaction will change the population in wells and . In the uncoupled cases, the population is higher than for a large interaction region, the coupling to the cavity will lead the population decrease to a lower value than for a large interaction region as shown in Fig.7(b). While for , the coupling to the cavity will lead the population to be higher than for a large interaction region on the other contrary. Comparing Fig.7(d) with Fig. 6 (d), one can also find that the BECs in the middle well are more chaotic as atoms trapped in two wells initially due to the tunneling and interference coming from the BECs in the well . The mean value versus with the initial value , , and (the BECs atoms are initially uploaded in wells and ) is shown in Fig. 8. It can be found that the atom-cavity coupling results into different effects for the different relative phase as mentioned in 7. After passing a wide oscillation region, the oscillation and the chaos behavior are compressed into a narrow region and the atoms will be trapped equally for a large interaction in the two traps eventually where they are initially uploaded for three cases. From Fig.8(b), we can find that the noninteracting atoms are mostly trapped in well due to the coupling to the cavity for the relative phase , but with the increase of the interaction, the population decrease quickly and enter a chaotic process. When the relative phase is chosen as zero, the cavity-mediated effects only enlarge the oscillation region, but for the other two relative phases cases, this nonlinearity not only enlarge the oscillation region but also make more chaotic behavior. Then we can change the relative phases to control the dynamics of the BECs in this cavity-mediated triple well. The above are scheduled to study the localization of BECs in two wells. As the triple well system is a protype of optical lattices helping us provide a bottom-up understanding of mechanisms operating in the infinite optical lattice. Here, we will turn to the case that the BECs atoms are trapped in three wells simultaneously with initial , , and . We calculate the average value as a function of for different relative phases in Fig. 9. The uncoupled cases are also shown for comparison. It can be easily found that the dynamics is also sensitively related to the initial phase but the phase does not show a pronounced effect as it does in the two wells cases. The coupling to the cavity also enlarges the oscillation region and make more chaotic for the cases of the relative phase and . While the relative phase is zero, the atom-cavity interplay may be neglected for its very weak influence on the dynamics, the BECs atoms show same process moving smoothly to a robust trapped behavior from the a small interaction both for the coupled and uncoupled cases.

## V tunneling to localization,

In the above, we have studied the dynamics of the cavity-mediated BECs in the symmetric triple-well cases (). Though the cavity-mediated potential makes the triple-well tilted as the zero-energy does, the actual experiments values, only leads the triple well to tilt slightly. How does the cavity-mediated potential affect the dynamics of the BECs for the asymmetric triple-well cases, and what will happen for a cavity-mediated tilted triple-well system? In order to answer these interesting questions, this section will extended to the general case with . In the following, the self trapping or localization in one-, two-, and three-wells are investigated, respectively.

### v.1 localization in one well

We explore the dynamics of of the BECs by depicting the mean populations for the uncoupled and coupled cases versus the parameter with and the initial conditions are , , and , respectively. The numerical results are shown in Figs. 10(a)10(f). In Fig.10(b), with an increase in the interaction , the averaged population decreases smoothly at the beginning, passes a large oscillating and chaotic areas till , and then tends to unite. Compared to the uncoupled case (Fig. 10(a)), it can be found that the transition area and the critical value are larger for the coupled case due to the reason that the atom-cavity interplay enhances the oscillation of the BECs atoms of each wells. Thus a larger interaction is used to trap the condensates. Compared Fig.10(b) with Fig.6(b), one can also find that, when the interaction is small, the coupling to the cavity will help the BECs atoms nearly be trapped in well for the tilted case. In Fig. 10(d), the cavity-mediated interaction will make the averaged population show a turbulent behavior from a small interaction , passes a wide chaos region, and then jumps up and tends to unite. In Fig. 10(f), initially, upload all the atoms in the right-hand well, with an increase in , the average population undergo a smooth process, then tend to unite. In comparison to Fig. 10(e), it is shown that the coupling to the cavity will lead to a larger critical value of the interaction .

### v.2 localization in two- and three-wells

Except the wells are tilted, the parameters and the initial conditions in Fig.11 are as same as the ones in Fig.7. Compared with these two figures, we can find that besides the phase sensitivity and the enlarging chaotic region, the difference is, the condensates atoms for the relative phase will be trapped too for the tilted wells cases. Furthermore, the mean value of is always small than the due to the tilted wells, i.e., the atom-cavity induced tilt potential is weak than the tilt of the well, and then it can not make a inversion as it does in the symmetric well cases. The mean value for different initial phases with the initial value , , for the tilted well cases is shown in Fig.12. Compared to Fig. 8, we may find two characteristics due to the tilted well, one is the the smooth motion of atoms for the relative phase zero become more chaotic due to the common effects of the tilted well and the atom-cavity induced potential. The other is the trapped mean population of is large than due to the tilt. For comparison with Fig. 9, the BECs atoms trapped in the tilted three wells simultaneously with initial , , and are also investigated shown in Fig.13. One obvious phenomena is for the relative phase zero case, when the well is tilted only, the mean values of is still smooth. When the tilted tripe well couples with the cavity, the atom-cavity interaction will destroy this Smooth behavior and make the dynamics become chaotic for small interaction .

## Vi summary

In this paper, we have studied the bistable curves and the tunneling dynamics of BECs in the cavity-mediated triple-well system within the mean field approach. We find that the atom-cavity nonlinearity will make the bistability occur both in the number of the photons of the cavity and in the energy structure of the BECs. Furthermore, the loops appear for the upper and lower energy levels with the pump-cavity detuning increasing. We also demonstrated that the transition to localization of a BECs can be efficiently controlled by the optical cavity. To understand the effects resulting form the cavity coupling, we have performed a detailed numerical simulation both for the symmetric and asymmetric cases.

For the cases of BECs atoms uploaded in well initially, the atom-cavity field nonlinearity enlarges the oscillation and chaotic regions both for the symmetric and asymmetric cases, then a large interaction is needed to trap the atoms. When the BECs atoms are uploaded in well initially, this nonlinearity only have a pronounced effects for the asymmetric case, which makes more chaos.

For the cases of BECs atoms uploaded in two wells initially, the cavity have different effects for different relative phases. With the increase of the interaction, the atoms will be trapped in one or two wells where they initially uploaded. Besides this, the coupling to cavity can lead a mean population inversion for certain relative phase if the BECs atoms are initially uploaded in wells and .

For the cases of the BECs atoms uploaded in three wells initially, there is a robust trapped phenomena for the relative phase zero in the symmetric wells even for the coupled cases. The theoretical discussion here will be helpful in controlling of BECs in real experiments.

###### Acknowledgements.

This work was supported by NSFC under grants Nos. 10704031, 10874235, 10934010 and 60978019, the NKBRSFC under grants Nos. 2009CB930701, 2010CB922904 and 2011CB921500, and FRFCU under grant No. lzujbky-2010-75.## References

- (1) F. Brennecke, T. Donner, S. Ritter, T. Bourdel, M. Köhl, and T. Esslinger, Nature (London) 450, 268 (2007).
- (2) Y. Colombe, T. Steinmetz, G. Dubois, F. Linke, D. Hunger,and J. Reichel, Nature (London) 450, 272 (2007).
- (3) M. Cola, M. Paris, and N. Piovella, Phys. Rev. A 70, 043809 (2004).
- (4) S. Slama, S. Bux, G. Krenz, C. Zimmermann, and P. W. Courteille, Phys. Rev. Lett. 98, 053603 (2007).
- (5) A. Vukics, C. Maschler, and H. Ritsch, New J. Phys. 9, 255 (2007).
- (6) C. Maschler, I. B. Mekhov, and H. Ritsch, Eur. Phys. J. D 46, 545 (2008).
- (7) J. M. Zhang, W. M. Liu, and D. L. Zhou, Phys. Rev. A 77, 033620 (2008).
- (8) J. Larson, B. Damski, G. Morigi, and M. Lewenstein, Phys. Rev. Lett. 100, 050401 (2008).
- (9) G. Szirmai, D. Nagy, and P. Domokos, Phys. Rev. Lett. 102, 080401 (2009).
- (10) U. Shrestha and J. Ruostekoski, New J. Phys. 14, 043037 (2012).
- (11) K. W. Murch, K. L. Moore, S. Gupta, and D. M. Stamper-Kurn, Nature Phys. 4, 561 (2008).
- (12) F. Brennecke, S. Ritter, T. Donner, and T. Esslinger, Science 322, 235 (2008).
- (13) K. Baumann, C. Guerlin, F. Brennecke, and T. Esslinger, Nature (London) 464, 1301 (2010);
- (14) L. Zhou, H. Pu, H. Y. Ling, and W. P. Zhang, Phys. Rev. Lett. 103, 160403 (2009); L. Zhou, H. Pu, H. Y. Ling, K. Zhang, and W. P. Zhang, Phys. Rev. A 81, 063641 (2010).
- (15) J. Larson and M. Lewenstein, New J. Phys. 11, 063027 (2009).
- (16) Y. Dong, J. W. Ye, and H. Pu, Phys. Rev. A 83, 031608 (2011).
- (17) S. Gupta, K. L. Moore, K. W. Murch, and D. M. Stamper-Kurn, Phys. Rev. Lett. 99, 213601 (2007).
- (18) S. Ritter, F. Brennecke, K. Baumann, T. Donner, C. Guerlin, T. Esslinger, Appl. Phys. B 95, 213 (2009).
- (19) G. Szirmai, D. Nagy, and P. Domokos, Phys. Rev. A 81, 043639 (2010).
- (20) S. Yang, M. Al-Amri, J. Evers, and M. S. Zubairy, Phys. Rev. A 83, 053821 (2011).
- (21) B. P. Venkatesh, J. Larson, and D. H. J. O’Dell, Phys. Rev. A 83, 063606 (2011).
- (22) L. Zhou, H. Pu, K. Zhang, X. D. Zhao, and W. P. Zhang, Phys. Rev. A 84, 043606 (2011).
- (23) J. Keeling, M. J. Bhaseen, and B. D. Simons, Phys. Rev. Lett. 105, 043001 (2010).
- (24) D. Nagy, G. Kónya, G. Szirmai, and P. Domokos, Phys. Rev. Lett. 104, 130401(2010).
- (25) N. Liu, J. L. Lian, J. Ma, L. T. Xiao, G. Chen, J. Q. Liang, and S. T Jia, Phys. Rev. A 83, 033601(2011)
- (26) J. M. Zhang, W. M. Liu, and D. L. Zhou, Phys. Rev. A 78, 043618 (2008).
- (27) J. Larson, J. Martikainen, Phys. Rev. A 82, 033606 (2010).
- (28) W. Chen and P. Meystre, Phys. Rev. A 79, 043801(2009).
- (29) S. Mossmann and C. Jung, Phys. Rev. A 74, 033601 (2006).
- (30) T. Lahaye, T. Pfau, and L. Santos, Phys. Rev. Lett. 104, 170404 (2010).
- (31) B. Liu, L. B. Fu, S. P. Yang, and J. Liu, Phys. Rev. A 75, 033601 (2007).
- (32) L. Cao, I. Brouzos, S. Zölner and P. Schmelcher, New J. Phys. 13, 033032 (2011).
- (33) E. M. Graefe, H. J. Korsch, and D. Witthaut, Phys. Rev. A 73, 013617 (2006).
- (34) G. B. Lu, W. H. Hai, and Q. T. Xie, Phys. Rev. A 83, 013407 (2011).
- (35) A. I. Streltsov, K. Sakmann, O. E. Alon, and L. S. Cederbaum, Phys. Rev. A 83, 043604 (2011).
- (36) J. A. Stickney, D. Z. Anderson, and A. A. Zozulya, Phys. Rev. A 75, 013608 (2007).
- (37) A. Benseny, S. Fernández-Vidal, J. Bagudà, R. Corbalán, A. Picón, L. Roso, G. Birkl, and J. Mompart, Phys. Rev. A 82, 013604 (2010).
- (38) S. Haroche, M. Brune, and J. M. Raimond, Europhys. Lett. 14, 19 (1991)
- (39) The set of parameters is experimentally practical. By taking Hz, , N and , we have 0.01, 0.01, and is changed according to the pump-cavity detuning.
- (40) B. Wu and Q. Niu, Phys. Rev. A 64, 061603 (2001); B. Wu and Q. Niu, New J. Phys. 5, 104 (2003).
- (41) D. Diakonov, L. M. Jensen, C. J. Pethick, and H. Smith, Phys. Rev. A 66, 013604 (2002); M. Machholm, C. J. Pethick, and H. Smith, ibid. 67, 053613 (2003); M. Machholm, A. Nicolin,C. J. Pethick, and H. Smith, ibid. 69, 043604 (2004).
- (42) G. Watanabe, S. Yoon, and F. Dalfovo, Phys. Rev. Lett. 107, 270404 (2011).
- (43) G. Watanabe, H. Sonoda, T. Maruyama, K. Sato, K. Yasuoka, and T. Ebisuzaki, Phys. Rev. Lett. 103, 121101 (2009).
- (44) E. J. Mueller, Phys. Rev. A 66, 063603 (2002).
- (45) S. K. Adhikari, J. Phys. B 44, 075301 (2011).