Binary Symplectic Representation
Abstract¶
An overview of the binary symplectic representation of Pauli-strings.
Keywords:Pauli StringsComplete BasisBinary.¶ Elements of the Pauli-strings can be mapped to the 2n bit-strings via the binary symplectic representation.
Single Qubit¶
The 1-qubit Pauli-strings are
P={I,X,Z,Y}. Any element of Pj∈P can be written as
Pj=(−i)zj⋅xjZzjXxj, where zj,xj∈{0,1}1, meaning that Pj can be captured by the 2-bit string
pj=(xj∣zj)∈{0,1}2. The (−i)zj⋅xj phase term ensures the correct behavior when multiply the Pauli-strings.
I=(−i)0⋅0Z0X0⟶(0∣0)X=(−i)0⋅1Z0X1⟶(1∣0)Z=(−i)1⋅0Z1X0⟶(0∣1)Y=(−i)1⋅1Z1X1⟶(1∣1) As ZX=−iY, it can be seen that the phase term ensures the correct multiplication behavior.
Multiplication of Single Qubit Pauli’s¶
Consider two elements of the single qubit Pauli-string and their mappings to 2-bit-strings
Pj→pj=(xj∣zj) and Pk→pk=(xk∣zk). Then
PjPk=(−1)zj⋅xkPl:Pl→pl=(xj⊕xk∣zj⊕zk), Similarly,
PkPj=(−1)zk⋅xjPl:Pl→pl=(xj⊕xk∣zj⊕zk).
PjPk=[(−1)zj⋅xjZzjXxj][(−1)zk⋅xkZzkXxk]=(−1)zj⋅xj⊕zk⋅xkZzjXxjZzkXxk=(−1)zj⋅xj⊕zk⋅xk(−1)zk⋅xjZzj⊕zkXxj⊕xk=(−1)(zj⋅xj)⊕(zk⋅xk)⊕(zk⋅xj)Zzj⊕zkXxj⊕xk=(−1)(zj⋅xj)⊕(zk⋅xk)⊕(zk⋅xj)⊕(zj⋅xk)(−1)zj⋅xkZzj⊕zkXxj⊕xk=(−1)zj⋅xk[(−1)(zj⊕zk)⋅(xj⊕xk)Z(zj⊕zk)X(xj⊕xk)]=(−1)zj⋅xkPl, such that
Pl=(−1)zl⋅xlZzlXxl, with zl=zj⊕zk and xl=xj⊕xk.
Note, in the above we have used the fact that
XxjZzk=(−1)xj⋅zkZzkXxj. It can then be seen that
PkPj=[(−1)zk⋅xkZzkXxk][(−1)zj⋅xjZzjXxj]=(−1)zk⋅xj[(−1)(zj⊕zk)⋅(xj⊕xk)Z(zj⊕zk)X(xj⊕xk)]=(−1)zk⋅xjPl. Commutation of Single Qubit Pauli’s¶
From the above it can be seen that
PjPk=(−1)(zk⋅xj)⊕(zj⋅xk)PkPj. Therefore, the Pauli-strings represented by the bit-strings
pj=(xj∣zj) and pk=(xk∣zk) commute if
(zj⋅xk)⊕(zk⋅xj)=0 mod 2, which is the binary symplectic inner product of these bit-strings.
n-qubits Pauli-strings¶
The n-qubit Pauli-strings are the n fold tensor product of the single qubit Pauli’s:
P=j=1⨂nPj:Pj∈{I,X,Z,Y} ∀ j. Using the definition for single qubit Pauli’s given above, this becomes
P=j=1⨂n(−i)zj⋅xjZzjXxj=(−i)z⋅xj=1⨂nZzjXxj, where x=(x1x2…xn) and z=(z1z2…zn), such that x,z∈{0,1}n.
Hence, an n-qubit Pauli string can be represented by the 2n bit-string
P→p=(x∣z). Multiplication of Multi-Qubit Pauli’s¶
Consider two elements of the single qubit Pauli-string and their mappings to 2-bit-strings
P→p=(xp∣zp) and Q→q=(xq∣zq). Then
PQ=(−1)zp⋅xqL:L→l=(xp⊕xq∣zp⊕zq), Similarly,
QP=(−1)zq⋅xpL:L→l=(xp⊕xq∣zp⊕zq).
PQ=[(−i)zp⋅xpj=1⨂nZzjpXxjp][(−i)zq⋅xqj=1⨂nZzjqXxjq]=(−i)(zp⋅xp)⊕(zq⋅xq)[j=1⨂nZzjpXxjpZzjqXxjq]=(−i)(zp⋅xp)⊕(zq⋅xq)[j=1⨂n(−i)(zjq⋅xjp)Zzjp⊕zjqXxjp⊕xjq]=(−i)(zp⋅xp)⊕(zq⋅xq)(−i)zq⋅xp[j=1⨂nZzjp⊕zjqXxjp⊕xjq]=(−i)(zp⋅xp)⊕(zq⋅xq)⊕(zq⋅xp)⊕(zp⋅xq)(−1)(zp⋅xq)[j=1⨂nZzjp⊕zjqXxjp⊕xjq]=(−1)(zp⋅xq)[(−i)(zp⊕zq)⋅(xp⊕xq)j=1⨂nZzjp⊕zjqXxjp⊕xjq]=(−1)(zp⋅xq)L, such that
L=(−1)zl⋅xlZzlXxl, with zl=zj⊕zk and xl=xj⊕xk.
Note, in the above we have used the fact that
XxjZzk=(−1)xj⋅zkZzkXxj. It can then be seen that
QP=[(−i)zq⋅xqj=1⨂nZzjqXxjq][(−i)zp⋅xpj=1⨂nZzjpXxjp]=(−1)(zq⋅xp)[(−i)(zp⊕zq)⋅(xp⊕xq)j=1⨂nZzjp⊕zjqXxjp⊕xjq]=(−1)(zq⋅xp)L. Commutation of Multi-Qubit Pauli’s¶
From the above, it can be seen that
PQ=(−1)(zp⋅xq)⊕(zq⋅xp)QP. Therefore, the Pauli-strings represented by the bit-strings
p=(xp∣zp) and q=(xq∣zq) commute if
(zp⋅xq)⊕(zq⋅xp)=0 mod 2, which is the binary symplectic inner product of these bit-strings.