next up previous contents
Next: Using the bloch sphere Up: The Bloch Sphere Previous: The Bloch Sphere   Contents

Applying the patch

The patch for the bloch sphere against the most up-to-date version of the QCL(QCL-0.5.0) is available here(http://www.redbrick.dcu.ie/ hego/project/bloch_sphere.patch). To apply this patch, copy the patch file into /tmp. Download a copy of the QCL source code and untar and unzip it with the following command;

tar zxvf qcl-0.5.0.tgz

Change directory into the qcl-0.5.0 directory. Then apply the patch, with this command;

patch $<$/tmp/bloch_sphere.patch

The code now needs to be compiled. Firstly, alter the Makefile to suit your system. Then create the .depend file with;

make dep

To compile the code then type;

make



Colm O hEigeartaigh 2003-05-30