to help study quantum information systems, quantum many-body systems, and quantum spin systems. It provides various tools and utilities for symbolic and numerical calculations on these representative quantum systems.
" for more details about the use of Q3 to study quantum information system.
◼
See also guide "Quantum Information Systems" for a list of Q3 functions related to quantum information systems.
Make sure you have loaded the package.
In[43]:=
Needs["QuantumMob`Q3`"]
Choose a symbol to use to refer to the set of qubits. For example, choose S, and declare it to be a qubit.
In[44]:=
Let[Qubit,S]
The following expression involves two qubits S[1,$] and S[2,$]. The final index denotes different Pauli operators acting on the qubit. For example, S[1,3] means the Pauli Z acting on S[1,$].
In[45]:=
op=S[1,1]**S[2,1]+S[1,3]
Out[45]=
X
S
1
X
S
2
+
Z
S
1
Multiply another operator to the above expression.