Vecs2Pauli solves the Local-Pauli-Transformation task (and more)
Local-Pauli-Transformation Task: find all matrices of the form which map one given vector to another vector , where
-
is the number of qubits
-
are are vectors of length whose entries are complex numbers
-
a complex number
- each for is a single-qubit Pauli matrix:
\[
\text{I} = \begin{bmatrix}
1 & 0\\
0 & 1
\end{bmatrix}
,
\qquad
\text{X} = \begin{bmatrix}
0 & 1\\
1 & 0
\end{bmatrix}
,
\qquad
\text{Y} = \begin{bmatrix}
0 & -\mathrm{i}\\
\mathrm{i} & 0
\end{bmatrix}
,
\qquad
\text{Z} = \begin{bmatrix}
1 & 0\\
0 &-1
\end{bmatrix}
.
\]
- the symbol "" is the Kronecker product.
By setting equal to , the solution to the task are precisely the (Pauli) stabilisers of .
So Vecs2Pauli will find all (Pauli) stabilisers of a vector.
Example 1: take as source vector and as target vector the same: . Then Vecs2Pauli finds all Local Pauli matrices which map to itself, i.e. it finds the stabilisers of .
These stabilisers are and , which can be written as
to the power zero and to the power one. Hence, is a generator for the group of stabilisers.
Example 2: take as source vector and as target (both are so-called (unnormalised) Bell states).
Then is mapped to by precisely all Local Pauli matrices which can be written as times ,
where is any operator that can be written as a multiplication of and (the stabilisers of ).
Notation: in general, a state of quantum bits can be represented as a vector consisting of complex numbers.
Typically, these are written as a sum of terms of the form where is a string of bits and the complex number which is found as the -th position of the vector (so-called Dirac notation).
For example, the vector from Example 1 is written , and the vectors from Example 2 are and .
Algorithm
The underlying algorithm of Vecs2Pauli which solves the Local-Pauli-Transformation task is based on our earlier work on a new data structure for simulation of quantum computing, combining decision diagrams and the stabilizer formalism. A full description of the algorithm will be made public soon.