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}}.

Filter by
Sorted by
Tagged with
2
votes
1answer
31 views

Expected value of a product of the Pauli matrices in different bases

I'm trying to reproduce the results of this article https://arxiv.org/abs/1801.03897, using Qiskit and Xanadu PennyLane. Particularly, this part with expected values of the Pauli operators: For ...
5
votes
2answers
771 views

Can there be multiple energy eigenstates corresponding to the same eigenvalue of a Hamiltonian (Pauli-X)?

all. I am a high-school student who has recently familiarized himself with linear algebra and is looking to understand quantum computing. So, I bought the classic textbook "Quantum Computation and ...
1
vote
1answer
38 views

Decomposition of a matrix in the Pauli basis

I read in this article (Apendix III p.8) that for $A\in \mathcal{M}_2$, since the normalized Pauli matrices $\{I,X,Y,Z\}/\sqrt{2}$ form an orthogonal matrix basis. $$A=\frac{Tr(AI)I+Tr(AX)X+Tr(AY)Y+...
4
votes
2answers
238 views

Definition of the Pauli group and the Clifford group

There seem to be two definitions of the Pauli group. In Nielsen and Chuang, the Pauli group on 1 qubit is defined as \begin{align*} \mathcal{P}_1 = \{\pm I, \pm iI, \pm X, \pm iX, \pm Y, \pm iY, \pm Z,...
0
votes
0answers
20 views

What is the need of Operator module from qiskit.aqua?

My question is two-fold: a) Why is it that Pauli takes two arguments (z,x). What is the role of x? In the max_cut module, z is initialized as an np array of size=no of nodes in graph with False dtype ...
1
vote
1answer
115 views

CRZ and CRY Gates

I am trying to understand the CRZ and CRY gates functions : what do they actually used for ? why we require a certain angle rotation around z or y Axis on a Qubit ? and what does it yield ? ...
3
votes
2answers
74 views

Expressing CNOT in the eigenbasis of $X$ (Preskill lecture notes eq. 7.6)

In chapter 7, equation 7.6 says CNOT works as follows: CNOT: $\frac{1}{\sqrt{2}} (|0\rangle + |1\rangle )\otimes |x\rangle \rightarrow \frac{1}{\sqrt{2}} (|0\rangle + (-1)^x |1\rangle ) \otimes |x\...
3
votes
1answer
46 views

How do physical implementations of Z gate selectively affect $\lvert1\rangle $ basis vector?

The Pauli Z gate inverts the phase of $\lvert1\rangle $ while leaving $\lvert0\rangle$ unaffected. When I think about how $\lvert1\rangle $ and $\lvert0\rangle$ are physically realized, however, as ...
3
votes
1answer
49 views

How does the actual measurement collapsing an error to an orthogonal basis look like?

An error can be written as a linear combination of $\Bbb I$, $X$, $Z$, $XZ$ Pauli matrices. So when measuring an errand state we aim at collapsing the error into one of these four possibilities. How ...
2
votes
1answer
117 views

Rotation operator on Pauli parity gates $XX$, $YY$ and $ZZ$

If we suppose that $XX$ is the tensor product of $X$ with $X$ such as $XX = X \otimes X$ How would we calculate the rotation operator of this $XX$ gate. Does this work? If so why? $$ R(XX)_\theta = ...
5
votes
1answer
80 views

Where is the factor of $-i$ in rotation gates coming from?

As I understand it the Pauli-X, Y and Z gates are the same as their rotational gates with a rotation of $\pi$. But given the expression for those gates, I find that there is a factor of $-i$ in each ...
11
votes
2answers
232 views

Simulate hamiltonian evolution

I'm trying to figure out how to simulate the evolution of qubits under the interaction of Hamiltonians with terms written as a tensor product of Pauli matrices in a quantum computer. I have found the ...
8
votes
2answers
120 views

Fast way to check if two state vectors are equivalent up to Pauli operations

I'm looking for fast code, or a fast algorithm, for checking if a given state vector $A$ can be transformed into another state vector $B$ using only the Pauli operations $X$, $Y$, $Z$. The naive ...
5
votes
3answers
1k views

How to construct matrix of regular and “flipped” 2-qubit CNOT?

When constructing the matrices for the two CNOT based on the target and control qubit, I can use reasoning: "If $q_0$==$|0\rangle$, everything simply passes through", resulting in an Identity matrix ...
1
vote
2answers
105 views

How does the stated Pauli decomposition for $\operatorname{CP\cdot A\cdot CP}$ arise?

I'm having a bit of trouble understand @DaftWullie's answer here. I understood that the $4\times 4$ matrix $A$ $$ \frac{1}{4} \left[\begin{matrix} 15 & 9 & 5 & -3 \\ 9 & 15 & 3 &...
9
votes
2answers
205 views

Is there a simple rule for the inverse of a Clifford circuit's stabilizer table?

In Improved Simulation of Stabilizer Circuits by Aaronson and Gottesman, it is explained how to compute a table describing which Pauli tensor products the X and Z observable of each qubit get mapped ...
4
votes
2answers
250 views

Shorthand notation for the sign flip gate

I need to use the following matrix gate in a quantum circuit: $$\text{Sign Flip}=\left[\begin{matrix}0 & -1 \\ -1 & 0\end{matrix}\right]$$ $\text{Sign Flip}$ can be decomposed as (in terms ...
8
votes
1answer
225 views

Is the Pauli group for $n$-qubits a basis for $\mathbb{C}^{2^n\times 2^n}$?

The Pauli group for $n$-qubits is defined as $G_n=\{I,X,Y,Z \}^{\otimes n}$, that is as the group containing all the possible tensor products between $n$ Pauli matrices. It is clear that the Pauli ...
8
votes
2answers
238 views

Why is the decomposition of a qubit-qutrit Hamiltonian in terms of Pauli and Gell-Mann matrices not unique?

If I have the $X$ gate acting on a qubit and the $\lambda_6$ gate acting on a qutrit, where $\lambda_6$ is a Gell-Mann matrix, the system is subjected to the Hamiltonian: $\lambda_6X= \begin{pmatrix}...
14
votes
1answer
386 views

Obtaining gate $e^{-i\Delta t Z}$ from elementary gates

I am currently reading "Quantum Computation and Quantum Information" by Nielsen and Chuang. In the section about Quantum Simulation, they give an illustrative example (section 4.7.3), which I don't ...