Questions tagged [matrix-representation]

For questions about matrix representations of quantum gates.

182 questions
4
votes
3 answers

Representing qubit swap using linear algebra

I want to write matrix representation of qubit swap algorithm, but I seem to be stuck. Here is the circuit I am trying to calculate using linear algebra: Initially $q_0 = |0\rangle$ or $\begin{pmatrix}1 & 0\end{pmatrix}^T$ while $q_1 = |1\rangle$…
Ach113
  • 223
  • 1
  • 8
3
votes
2 answers

How to find original matrix from eigenbasis and eigenvalues?

I'm not sure is it the right place to ask this but, I think it is better to ask here than Math Overflow. It is about how to find the matrix representation of an operator (for the CHSH test). What are the matrices that has…
user13783
  • 41
  • 1
2
votes
3 answers

Deriving a controlled Kraus operator from an uncontrolled Kraus operator

I have a Kraus operator $M$. $M$ is composed of a list of matrices $M_k$ satisfying $$\sum_{k} M_k^\dagger M_k = I$$ I would like to control the application of $M$ using a control qubit. This controlled operation will have a Kraus operator $C(M)$.…
Craig Gidney
  • 36,389
  • 1
  • 29
  • 95
2
votes
1 answer

Matrix definition of the Ising XX gate

On the English Wikipedia, $XX$ Ising gates are defined in matrix form as : $$ XX(\phi) = \begin{bmatrix}\cos(\phi)&0&0& -i \sin(\phi)\\ 0&\cos(\phi)&-i \sin(\phi) & 0 \\ 0 & -i \sin(\phi) & \cos(\phi) & 0 \\ -i \sin(\phi) & 0 & 0 & \cos(\phi)…
nathan raynal
  • 583
  • 2
  • 12