SPINS Java Homepage

David H. McIntyre
Dept. of Physics, Oregon State University

UPDATED 17 September 2014: Error corrected in Spin-1 interferometer code.

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 site)

The SPINS program is available as an application or an applet:

  • 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 (JRE). More Java help.
  • 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 Macintosh 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 html or pdf format, and is also embedded in the program.

© David McIntyre
Department of Physics, Oregon State University, 2014.
Updated 9.17.14

Partial support for the development of this software was provided by
The L. L. Stewart Faculty Development Fund
OSU Foundation, Corvallis, Oregon.