SPINS Java Homepage
David H. McIntyre
UPDATED 17 September 2014: Error corrected in Spin-1 interferometer code.
Dept. of Physics, Oregon State University
An enhanced version of SPINS has been developed in collaboration with the Open Source Physics (OSP) project. This new program has a new home page,
but note that the OSP Spins code has not yet been updated with the code correction for the spin-1 interfereometer problem, which is noted there.
SPINS is an interactive computer program that simulates Stern-Gerlach measurements on spin-1/2 and spin-1 particles. The original Macintosh version was written by D. V. Schroeder (see Am. J. Phys. 61, 798 (1993)). We have
developed a JAVA version for use in the Paradigm course PH425: Spin and Quantum Measurement (archived web
The SPINS program is available as an application or an
- APPLICATION: The SPINS application is packaged as a
jar file. Download it to your
machine (you may have to right click and save). If you
have Java installed you can double click on the jar file,
or from the directory where the file resides type:
>java -jar spins.jar (which runs the java code)
If you do not have Java, you can download the Java
Runtime Engine from Oracle
- APPLET: You can open the
Spins Applet from a
browser. If you don't have the java plug in, your browser
will ask you to download it (you need it).
- The original
version, upon which the new Java version is based, is
still available if you desire.
- The Java application and applet have run under Unix,
Windows, and Mac OS X.
- SOURCE CODE: This software is
issued under the GNU General Public
License, which you should read if you intend to
modify or distribute the program. Source code not updated yet.
- Help for the SPINS program is available in
pdf format, and is also embedded in the program.
© David McIntyre
Department of Physics, Oregon State University, 2014.
Partial support for the development of this software was
The L. L. Stewart Faculty Development Fund
OSU Foundation, Corvallis, Oregon.