Child pages
  • Mox_quantum_computing_qutip
Skip to end of metadata
Go to start of metadata

Below are instructions to install and use QuTiP on mox. Here abc is your userid and xyz is your group name.

Install your own copy of Anaconda Python as shown in the section on "Install Anaconda Python" in below link:

Hyak python programming

Installing QuTiP:

1) login to mox.hyak:


2) get a build node:

srun -p xyz -A xyz  --time=4:00:00 --mem=100G --pty /bin/bash

3) Install qutip:

mkdir /gscratch/xyz/abc/qutipstuff

cd /gscratch/xyz/abc/qutipstuff


tar -xvf v4.3.1.tar.gz

cd qutip-4.3.1

python install --with-openmp

cd .. ( it is important to get out of the qutip-4.3.1 directory before using qutip)

4) Calibrate OPENMP for qutip:


import qutip

You will see below message:

"Calibrating OPENMP threshold..."

Using QuTip:

import qutip
import math

#multiply Pauli matrices



QuTiP documentation:

More details are at:

  • No labels