A Bloch Sphere Animation Software using a Three Dimensional Java Simulator
Changming Huo
Abstract
Electron spin, alone or in conjunction with charge, can be used to process information and build up quantum computers because it is a natural quantum bit.In this work, a Java simulator has been constructed and a 3D display has been created using Java 3D API to animate the motion of a qubit or spinor based on the Bloch sphere and Bloch ball concepts.The simulator is capable of illustrating the Larmor precession of a qubit, the Rabi formula which calculates the probability of spin flip in a time dependent magnetic field, and the density matrix concept where the time evolution of an ensemble of spinors can be examined.Control panels are constructed on the user interface to allow manipulation of qubits and adjustment of simulation parameters such as external time-independent and time-dependent magnetic fields.The simulator provides a user friendly software package useful for teaching and self-learning in the field of spintronics.