Considering an effectively attractive quasi-one-dimensional Bose-Einstein condensate of atoms confined in a toroidal trap, we find that the system undergoes a phase transition from a uniform to a localized state, as the magnitude of the coupling constant increases. Both the mean-field approximation, as well as a diagonalization scheme are used to attack the problem. [4,5] have examined theoretically these systems. In the limit where transversely to the long axis of the trap the gas is in the lowest harmonicoscillator level, the transverse degrees of freedom are frozen out and the system is essentially one-dimensional [6].Motivated by these developments, we study here an effectively attractive one-dimensional Bose-Einstein condensate of atoms confined in a toroidal trap. In a recent theoretical paper Kanamoto, Saito, and Ueda have investigated the ground state and the low-lying excited states of such a system [5] (see also Ref. [7] for a detailed discussion of this problem). As shown, the Gross-Pitaevskii mean-field theory predicts a quantum phase transition between a uniform state and a localized state as the absolute value of the strength of the interaction inreases. Furthermore, numerical diagonalization of the Hamiltonian for a finite number of bosons shows that the transition in this case is smeared out, as expected in finite systems.In our study we examine the same problem using different techniques. Initially we use the mean-field approximation with a properly chosen variational wavefunction to study the phase transition and the order parameter in the two phases. Then, working in the same truncated space we use a Bogoliubov transformation to diagonalize the Hamiltonian. Having diagonalized the problem, we examine the lowest state of the system, the low-lying excited states, as well as the depletion of the condensate at the region of the transition. Our results are consistent with those of Ref. [5].Let us therefore consider a Bose-Einstein condensate in a toroidal trap. Following Ref.[5], we assume that the system contains N bosons, that the radius of the torus is R and its cross section is S = πr 2 , with r ≪ R. Ifψ(θ) is the field operator, the Hamiltonian iŝwhere U 0 = 8πaR/S, with a being the scattering length for elastic atom-atom collisions, and θ is the azimuthal angle. Here the length is measured in units of R and the energy in units ofh 2 /2mR 2 , with m being the atom mass. Let us start with the mean-field approach. Within this approximation the system is described by a single wavefunction, the order parameter ψ(r), and the many-body state is the product Π i ψ(r i ), with i = 1, . . . , N , where N is the number of atoms. Therefore this approximation ignores correlations between the atoms and in general it has a higher energy than the exact solution that one can get by diagonalizing the Hamiltonian.In this problem it is natural to work in the basis of plane-wave states φ l (θ) = e ilθ / √ 2π and according to the analysis of Ref.[5], the order parameter close to the transition consists of the stat...