As a result of the current increase in interest in quantum computing and the unrelenting attempt to develop and establish a quantum computer, Many researchers in this field have turned to designing appropriate algorithms or investigating the possibilities of controlling and manipulating the quantum state. One of the most promising techniques involves using single ionized atoms kept in Paul traps. Each ion's internal state represents the lowest quantum informational unit (a qubit). That research used the trapped ions 40Ca + to illustrate a quantum qubit. According to the Paul linear trap, one of the essential traps for confining ions in one dimension, they may be easily handled and controlled in the quantum state. We used MATLAB programs to simulate the factors affecting the confined state and their impact on it after resolving Mathieu's equation and determining the vibrational state of the ion. That consists of superposition cases between the secular monition and the Micromotion. The a and q values in Mathieu's equation are necessary for three-dimensional confinement for the solutions to be simultaneously stable in both directions. The parameter a depends on the Dc voltage, the ion's mass, the Radio frequencies, and the distance between the trap center and the electrodes. The control by a variable voltage provided it. In addition, it illustrates its effect in a specific chain of trapped ions. This study opens the door to understanding the ideal condition through which it ensures the best state of confinement and selecting what is necessary to reach the resonance state for ions transport from the state (4S1/2) to the state (4P1/2). After that, the manipulation of the quantum state begins.