Qubit operations and Quantum Measurement in Mathematica
This is a short note on how to get started with Quantum Computing with Mathematica.
This is not intended to be either comprehensive or pedagogical. There are several resources online like http://www.quantiki.org/ and http://qubit.org/
First Download the excellent Mathematica Package by José Luis Gómez-Muñoz and Francisco Delgado from here http://homepage.cem.itesm.mx/lgomez/quantum/index.htm . The instructions to install them are given here http://homepage.cem.itesm.mx/lgomez/quantum/installation.pdf
In[1]:=
In[2]:=
Out[2]:= MatrixForm=
In[3]:=
Out[3]=
In[4]:=
Out[4]=
In[5]:=
Out[5]=
In[6]:=
Out[6]//MatrixForm=
In[8]:=
Out[8]=
In[9]:=
Out[9]=
Probability | Measurement | State |
Probability | Measurement | State |
In[10]:=
Out[10]=
Probability | Measurement | State |
Probability | Measurement | State |
In[11]:=
Out[11]=
Probability | Measurement | State |
Probability | Measurement | State |
For those of you who have Mathematica Installed here is the Notebook File
Repeat Caveat, this is certainly non-exhaustive and is meant to be minimal. José himself has lot of sample notebooks and youtube tutorials which you may want to checkout for indepth study.