Numerical State Tomography (NST)

Introduction

This software code is to accompany the paper "Quantum State Tomography: 'the best' is the enemy of 'good enough'" by M. Kaznady and D. F. V. James (submitted to Physical Review A, 2008) . All the numerics in the paper were performed using this source code.

IMPORTANT: all researchers using this code should cite the above paper in any relevant publications.

Click on the "Files" tab at the top left-hand corner to view the detailed documentation of the source code.

Source code is available here: http://www.physics.utoronto.ca/~dfvj/publications/NST.tar.gz

Installation

Step 1: Pre-requisites

This software uses GNU Scientific Library version 1.9, which can be obtained here: ftp://ftp.gnu.org/gnu/gsl/gsl-1.9.tar.gz

We used GNU C compiler of various versions from the GNU compiler collection, but you're welcome to use any other compiler.

Unpack and install the archive as per GSL Instructions, basic steps would be:
./configure --prefix=/usr/local/gsl-1.9
make
sudo make install
last command "make install" has to be run as root

You can install GSL anywhere you like, but for the sake of simplicity I'll refer to GSL's location as /usr/local/gsl-1/9.

Step 2: Modifying local system files

If you installation location is different to /usr/local/gsl-1.9, then you also need to modify the Makefile, see the next section.

If not, then you need to export an environment variable LD_LIBRARY_PATH as described here: http://www.gnu.org/software/gsl/manual/html_node/Shared-Libraries.html

In short, add these lines to ~/.bashrc if you have BASH Shell:

LD_LIBRARY_PATH=/usr/local/gsl-1.9/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH

Now restart the terminal, change directory to the unpacked NST source code and run "make". You may need to modify the Makefile (see next section).

To change the parameters of the simulation edit the file "header.h" in the source code and recompile. Click on "Files" tab and read the documentation of "header.h" to set the parameters correctly.

Step 3: Modifying Makefile

Locate the lines starting with LIBC and INCL and change the paths to point to the location of your GSL.

The line COMPILER should also be set to the proper compiler, but most Unix/Linux distribution come with GCC installed by default.

License

Using GSL -> www.gnu.org/software/gsl
Copyright (C) 2007 Max S Kaznady

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation;

AUTHOR
Max S Kaznady, [EMAIL PROTECTED]
max.kaznady@gmail.com
Summer, 2007


Generated on Thu Sep 11 10:27:18 2008 for Numerical State Tomography by  doxygen 1.5.6