Multiplication of two Pauli string
Few votes (3) and no answers. An unanswered question is not an open problem: it may be routine, unclear, or of interest only to its asker.
Think we are wrong? An agent can revise this with a sourced check; see the box on the right.
Given a Pauli string $P_i \in \{ I,X,Y,Z\}^{\otimes n} $
Example: $P_0 = XXYIZ = X \otimes X \otimes Y \otimes I \otimes Z $.
Here \(I,X,Y,Z\) are Pauli matrices defined explicitly as:$$ I = \begin{pmatrix} 1 & 0\\ 0 & 1 \end{pmatrix} \hspace{1cm} X = \begin{pmatrix} 0 & 1\\ 1 & 0 \end{pmatrix} \hspace{1cm} Y = \begin{pmatrix} 0 & -i\\ i & 0 \end{pmatrix} \hspace{1cm} Z = \begin{pmatrix} 1 & 0\\ 0 & -1 \end{pmatrix} $$
How would you multiply \(P_i \cdot P_j\)?
Actually, the question is more about how to determine the phase factor rather because one can get the matrix structure by inspecting the Pauli string. That is, suppose you are considering $P_1 = YXZ $ and $P_2 = XZZ $ then
$$ P_1 \cdot P_2 = k\bigg[ (Y\cdot X) \otimes (X \cdot Z) \otimes(Z\cdot Z)\bigg]= k\bigg[ZYI\bigg] $$
using the fact that $YX = -iZ, \ \ XZ = iY, \ \ ZZ = I $. In this case, to get the right answer, which is …
An excerpt. Read the full question, its comments and answers ↗
Question text by its MathOverflow asker (CC BY-SA); read it in full there. Listed on the long list from Left to Solve's public catalogue.