Questions tagged [pauli-gates]
For questions about Pauli matrices in general or Pauli gates in particular, as relevant to quantum computing and/or quantum information theory. The Pauli matrices are a set of three 2 × 2 complex matrices which are Hermitian and unitary. The three Pauli gates are: Pauli-X gate, Pauli-Y gate & Pauli-Z gate. X = {{0,1},{1,0}}; Y = {{0,-i},{i,0}}; Z = {{1,0},{0,-1}}.
254 questions
2
votes
1
answer
544
views
Coupling map in QISKIT transpile
I have a 3-qubit unitary represented by a circuit with the following dictionary: {'cx': 30, 'h': 22, 'rz': 15, 's': 4, 'sdg': 4}. I want to use this circuit on IBM ...
5
votes
1
answer
413
views
Regarding the inductive proof that any Clifford gate can be made of Hadamard, phase and c-not
In Exercise 10.40 of Nielsen and Chunang's textbook, the reader is supposed to construct an inductive proof of Theorem 10.6 that any Clifford gate can be made of Hadamard, phase and c-not. There it is ...
0
votes
1
answer
60
views
Pauli Twirling not increasing Circuit depth?
This paper talks about the properties of Pauli twirling a circuit. Pauli twirling is a technique that converts arbitrary quantum noise into Pauli errors by applying random Pauli gates before and after ...
3
votes
1
answer
922
views
How can I verify that the Pauli group is a group? And is it abelian? [duplicate]
So how can I verify that the Pauli group is a group? Furthermore, is it Abelian? And then to sum it up, what is the order of the group? Trying to do some research into the Pauli group but I can't find ...
2
votes
2
answers
997
views
How to find the normalization factor of the eigenvectors of the $\sigma_x$ Pauli gate?
I'm trying to calcaute the eigenstates for the $\sigma_x$ gate, and I can follow the process up to finding eigenvalues $\pm 1$, but I don't understand where the $\frac{1}{\sqrt{2}}$ coefficient comes ...
1
vote
1
answer
111
views
The Output of Transversal Bell Measurement in Knill's Method of Fault-Tolerant Error Correction (FTEC)
On page 26 of this paper (arXiv), it is written that in Knill's method of fault-tolerant error correction (FTEC), the output of the transversal bell measurement becomes $(P_m \otimes I) | \Phi_0 \...
6
votes
2
answers
1k
views
How to perform a controlled Pauli string rotation gate?
I would like to know some circuit decomposition for an arbitrary controlled Pauli string rotation:
\begin{equation}
|0\rangle\langle 0| \otimes e^{i \theta (P_1\otimes...\otimes P_n)}+ |1\rangle\...
6
votes
3
answers
1k
views
Why are rotations represented by exponentials of Pauli matrices?
I'm self-studying Quantum Computation from Nielsen and Chuang's book. In section 4.2 they discuss that for any unit vector $\hat n$, the rotation operator $R_{\hat n}(\theta) = \exp(-i\theta\hat n \...
1
vote
0
answers
24
views
Implementing an arbitrary complex valued single qubit unitary gate using a given matrix
I’m implementing an arbitrary single-qubit gate in Q# , using pauli decompositon. The goal is to match the behavior of a specified unitary matrix acting on a single qubit. Here’s the code I’ve written ...
0
votes
1
answer
59
views
Deriving the number operator in a Cooper Pair Box (CPB)
The details of my question follows closely from this source (pg 10 - 12): https://clerkgroup.uchicago.edu/PDFfiles/0210247.pdf
The standard CPB hamiltonian in charge basis is written as
$$
H = 4E_{c}\...
2
votes
0
answers
44
views
What class of matrices have efficient decompositions?
Suppose we have an arbitrary matrix $A \in \mathbb{C}^{N \times N}$ where $N=2^n$. Now suppose that we can decompose $A$ into tensor products of the Pauli basis given by $A=\sum_{l=0}^Lc_lS_l$ where $...
0
votes
1
answer
122
views
Commutation relationship and measurement results
There are things I do not understand about the following circuit, and I would appreciate it if you could explain.
...
1
vote
1
answer
104
views
What's the earliest reference noting that a NOT gate is the same as a Pauli X operator?
Coming from an electrical/computer engineering background, I knew what a NOT gate is well before I learned about the Pauli matrices. But the NOT gate is operationally the same as a Pauli X matrix, ...
3
votes
0
answers
68
views
Trying to prove Theorem 4.1 from Nielsen and Chuang algebraically
Background
Theorem 4.1 of Nielsen and Chuang (10th Anniversary Edition) states how a universal single-qubit unitary can be constructed from Y and Z rotations.
Suppose $U$ is a unitary operation on a ...
4
votes
1
answer
220
views
Clarification on the Pauli Stabilizer Condition in Aaronson & Gottesman’s Efficient Simulation Paper
In Aaronson's & Gottesman's paper about the efficient simulation of a stabilizer circuit (arXiv),
I have a problem with finding the reason why the following statement holds.
Restating the ...
2
votes
0
answers
289
views
Is decomposing high-dimensional states in terms of Pauli matrices impossible?
I've been trying to decompose a $3\times3$ density matrix with 3-dimensional Pauli matrices but it doesn't work for all matrices.
For example, the density matrix of the state $|0\rangle + |1\rangle + |...
1
vote
1
answer
60
views
Forward propogation of rotated clifford gates in lattice surgery
In A Game of Surface Codes (arXiv), I have been trying to understand the process that is described for forward propogating rotated clifford gates through other rotated clifford gates, and either I am ...
2
votes
1
answer
313
views
Showing that $e^{i \sigma_z \otimes \sigma_z t} = \text{CNOT}(I \otimes e^{i \sigma_zt})\text{CNOT}$
While working on circuit construction for Hamiltonian simulation using this answer as reference, I'm unable to see how the following equation is true:
$$
e^{i \sigma_z \otimes \sigma_z t} = \text{CNOT}...
2
votes
2
answers
155
views
CX and CZ commutation
Suppose I have control qubits $1$ and $2$ and target qubit $3$. I have the circuit element
$$E = CX_{1-> 3}CZ_{2-> 3}$$
I would like to swap the order and have
$$E' = CZ_{2-> 3}CX_{1-> 3}$$...
5
votes
1
answer
227
views
What is the structure of coefficients of $2^N\times 2^N$ unitary matrices decomposed in terms of the Pauli basis?
Any square $2^N\times 2^N$ matrix can be written as a sum of tensor products of pauli matrices. Eg a $8\times 8$ matrix can be written as
$$U=\sum_{i_1,i_2,i_3}u_{i_1,i_2,i_3}\sigma_{i_1}\otimes\...
8
votes
1
answer
303
views
Does conjugation by a Clifford send each non-identity Pauli to every other non-identity Pauli with equal frequency?
I see here in Olivia DeMatteo's notes, she states:
When we consider the action of the entire Clifford group on a single non-identity Pauli, it
maps that Pauli to each of the $d^2 − 1$ other possible ...
2
votes
1
answer
40
views
If $g \in S$, does this necessitate that $g^{\dagger} \in S$?
In Lecture 5 of Aram Harrow's lecture series "Quantum Information Science II", he sets about proving that $\Pi_{S} = \frac{1}{|S|} \sum_{g \in S} g$ can be written as $\Pi_{S}= \prod_{i=1}^{...
1
vote
1
answer
345
views
How to express $n$-qubit Hermitian operator with Pauli matrices
How can we prove that all $n$-qubit Hermitian matrices can be written in terms of Pauli matrices $I$, $X$, $Y$, and $Z$ as
$$
\sum_{W_k \in \{I, X, Y, Z\}} a_{W_1,\dots,W_n}W_{1}\otimes ... \otimes W_{...
3
votes
2
answers
220
views
How to prove that the trace of n-qubit matrices satisfies ${\rm Tr}(XY)=2^n\sum_{M\in\{I,X,Y,Z\}^n} x_M y_M$?
It is known that for n-qubit matrices X, Y $\in \mathbb{C}^{2^{n}\times 2^{n}}$ (and Pauli matrices $I, X, Y, Z$) such that
$$
X = \sum_{M \in \{I, X, Y, Z\}^{n}} x_{M}M_{1}\otimes ... \otimes M_{n}
$...
5
votes
1
answer
530
views
In the Clifford group, is the center of $ \overline{\text{Cl}_n} \equiv\text{Cl}_n/U(1)$ trivial?
My question:
Is the center of $ \overline{{\rm Cl}_n} $ trivial?
Recall that the algebra generated by the Pauli group is the full matrix algebra. So any matrix that commutes with the Pauli group ...
6
votes
1
answer
71
views
Why no $Z$'s in the $\operatorname{F} (\sum_{j=0}^{n-1} 2^j Z_j) \operatorname{F}^\dagger$ operator?
An interesting numerical observation is that an operator defined as $\phi=\sum_{j=0}^{n-1} 2^j Z_j$ upon a QFT is rotated into an operator $\pi=\operatorname{F} \phi \operatorname{F}^\dagger$ which ...
0
votes
1
answer
62
views
Coding a hamiltonian in qiskit
I have a hamiltonian of the form:
$H=\sum_{i=1}^N Z_i Z_{i+1}-Z_NZ_1$
And another one as:
$H=-\sum_{i=1}^N X_i$
I need it to it for N terms.
I am a bit lost can anybody help. I tried looking for ...
4
votes
1
answer
611
views
Is the Pauli group isomorphic to the Heisenberg group over a finite field?
Let $ p $ be prime and let $ P_n(p) $ denote the Pauli group on $ n $ qudits each of size $ p $. Then $ P_n(p) $ and $ \text{Heis}_{2n+1}(\mathbb{F}_p) $ are both extraspecial $ p $ groups of order $ ...
3
votes
1
answer
485
views
What is the best way to write a tridiagonal matrix as a linear combination of Pauli matrices?
I'm looking for an algorithm to write an arbitrarily sized tridiagonal matrix as a linear combination of Pauli matrices. The tridiagonal matrix has the form, for example,
\begin{pmatrix}
2 & -1 &...
4
votes
2
answers
586
views
Spectral theorem for Pauli matrices
Let $ P $ be a Pauli matrix, hence normal. So by the spectral theorem $ P $ can be written as
$$
P=VDV^{-1}
$$
for $ V $ unitary and $ D $ diagonal (in other words $ P $ is unitarily diagonalizable). ...
5
votes
1
answer
712
views
How many $ \sqrt{X} $ are there?
I was reading this post and it got me thinking about square roots.
Recall the Pauli $ X $ gate
$$
X=\begin{bmatrix}
0 & 1 \\
1 & 0
\end{bmatrix};
$$
How many unitary matrices $ U $ are there ...
1
vote
0
answers
260
views
How is the definition of $n$-qubit Pauli group derived?
The authors give the following definition for the Pauli group in the paper Averaged circuit eigenvalue sampling.
The n-qubit Pauli group $P_n$ consists of n-fold tensor products of single-qubit Pauli ...
1
vote
1
answer
79
views
Eigenvalues of Pauli Gate and connection to measurement
Suppose I measure a qubit in the $Z$ basis. If I measure and obtain the outcome $+1$, I get the post-measurement state $\vert 0\rangle\langle 0\vert$ and if I measure and obtain the outcome $-1$, I ...
3
votes
1
answer
69
views
How does one identify Pauli logicals in a hyperbolic surface code?
I understand how the Pauli X and Z logicals on the planar surface code work - they are stringlike operators between either the rough boundaries (in case of the Z logical) or between smooth boundaries (...
2
votes
1
answer
111
views
What is the connection between an observable and a gate?
I am reading some introductory quantum mechanics and I don't understand the connection between an observable and a gate. I thought a gate just applies a rotation to a state while a measurement gives ...
0
votes
0
answers
42
views
How can I measure qutrits in the X basis using cirq?
I attempted to create a custom measurement class which, in my case, allows us to go from the z basis to x basis using a hadamard gate transformation, and then we measure wrt that new basis. However, ...
3
votes
2
answers
71
views
Is every pure 1-qubit state an eigenstate of $aX + bY + cZ$?
As stated in the question, I have seen this claim made that a pure state can be written as an eigenstate of $aX + bY + cZ$ for some $a,b,c$ where $X,Y,Z$ are Pauli matrices. Why is this true and what ...
1
vote
0
answers
34
views
QuTiP tutorial: How to derive the analytical solution to the expectation value of an operator for a system evolving by Lindbladian
I am following the simple tutorial below:
(https://nbviewer.org/urls/qutip.org/qutip-tutorials/tutorials-v5/time-evolution/003_qubit-dynamics.ipynb)
In this they look at single qubit with Hamiltonian $...
13
votes
1
answer
5k
views
How can I decompose a matrix in terms of Pauli matrices?
I need to see an example of how Hamiltonian, i.e. any Hermitian matrix, can be decomposed into a linear combination of Pauli matrices.
I would prefer an option to do this in larger than 2 dimensions, ...
1
vote
0
answers
286
views
Changing the Basis
I am attempting to use a VQE algorithm to find the ground state of a deuterium nucleus by applying a constructed hamiltonian to an ansatz state with one parameter created by a circuit. While I am ...
1
vote
0
answers
37
views
Dimension reduction to subsystem in Pauli-Liouville basis: How to implement partial trace of Pauli-Transfer Matrices?
I have a complementary question to my previous (thankfully answered, but I can't verify for larger systems) question:
Multi-qubit quantum channels in Pauli-Liouville basis: Tensor product of Pauli-...
2
votes
2
answers
127
views
Calculating number of CNOT gates in Pauli evolution gate
How to calculate the number of CNOT gates for a Pauli exponentiation for given time?
I am performing Trotterization which involves performing Pauli evolution ...
1
vote
1
answer
43
views
Moving pauli product rotations past measurements
I'm trying to understand how the clifford + T compiler works in "A Game of Surface codes".
How do I move a pauli product rotation block past a pauli product measurement block? More ...
1
vote
1
answer
292
views
Why is the Pauli Y gate eigenstate so hard to create?
In a lot of quantum computing formalism, it is relatively easy to create $\vert 0\rangle$, $\vert 1\rangle$, $\vert +\rangle$ and $\vert -\rangle$. However, it is hard to create $\vert i\rangle$. Why ...
2
votes
2
answers
74
views
How to modify the quantum circuit to do superdense coding with the state $|00\rangle-|11\rangle$?
Suppose I want to perform the superdense coding protocol, but instead of using the state $\beta_{00}=\frac{1}{\sqrt2}(|00\rangle+|11\rangle)$, I have to initialize it with the state $\beta_{10}=\frac{...
5
votes
2
answers
551
views
Efficient way to calculate trace of product of Pauli string and matrix?
Basically the title, but more formally: is there a way to efficiently calculate the trace of the product of a Pauli string $P$ and a $2^n \times 2^n$ matrix $M$? That is, is there a way to calculate ...
4
votes
2
answers
166
views
Commutation of $XX$ and $ZZ$ operators
It is known that the Pauli operators $XX$ and $ZZ$ commute. Consider the state $\vert{++}\rangle$ which is an eigenstate of $XX$. But we also know that
$$ZZ\vert{++}\rangle = \vert{--}\rangle$$
so ...
6
votes
2
answers
371
views
Is there an efficient algorithm for decomposing an arbitrary Hamiltonian into Pauli strings?
Basically the title. If I have a $2^N\times 2^N$ Hamiltonian $H$ of random numbers (we can take the Hamiltonian as normalized if we want) and $N$ is an integer, is there an efficient way of writing
$$
...
3
votes
1
answer
69
views
In context of stabilizer codes, are logical gates and Pauli operators the same?
I was reading this blog post and as I understood, a unitary operator is logical if and only if it's in $\mathcal{N}(\mathcal{S})$, and a Pauli operator is Logical if and only if it's in $\mathcal{C}(\...
0
votes
1
answer
128
views
Connection between a Pauli measurement and the corresponding Pauli gate?
Suppose I have a qubit and the ability to act a Pauli $Z$ gate on it. This is a black box that does the phase flip and I don't know how it works on the inside. Can I use this black box to implement a ...