# Questions tagged [matrix-representation]

For questions about matrix representations of quantum gates.

144 questions
Filter by
Sorted by
Tagged with
54 views

### Writing a Density matrix in terms of the magnitude of the Bloch Vector

Working with the density matrix and the Bloch sphere, I have been attempting to complete an exercise in Entangled Systems; New Directions in Quantum Physics. If anyone has the book it is Question 4.3 ...
• 313
84 views

### What is the tensor product expression for the following quantum circuit? [duplicate]

Qiskit generates the following matrix for this 3-qubit CNOT circuit. Can anyone explain how do we get this mathematically ? This is the Quantum Circuit This is the Output of Unitary Simulator
1 vote
52 views

• 153
1 vote
124 views

• 63
356 views

### What is the set of generators for the qutrit Clifford group?

According to this article, any Clifford gate, acting on $n$ qubits, can be generated by Hadamard, CNOT, and S gates. What are the set of generators for qutrit Cliffords?
• 963
497 views

### How is outer product an operator?

I was going through Qiskit online text book and came across this part. The relevant (slightly modified) paragraph is - Suppose we have two states $|\psi_0\rangle$ and $|\psi_2\rangle$. Their inner ...
• 131
1 vote
42 views

### Vector math of applying an X-gate on an $|i\rangle$ basis state

It is well known that the X-gate will apply a rotation about the x-axis on the bloch sphere. Knowing this, the $|i\rangle$ state should be converted to the $|-i\rangle$ state on the application of ...
122 views

### How to get the matrix representation of a circuit in Amazon braket?

Say I define a circuit using the amazon-braket-sdk, for example: ...
• 143
1 vote
96 views

### Matrix for $U^{2^j}$ from Shor's algorithm for any $a$ and $N$

I'm implementing Shor's algorithm from scratch and therefore want to implement a unitary gate $U$ such that $U^{2^j}|y\rangle = |a^{2^j}y \: \text{mod} \: N\rangle$. I know that an efficient way of ...
• 2,655
363 views

### How to represent a CNOT gate operating on three-qubit states as a matrix? [duplicate]

I am wondering how to represent these kinds of circuits as a matrix. Is there any formula for doing this?
• 305
183 views

### How do I apply a matrix to a ket state?

If we have the following matrix: $$\frac{1}{\sqrt{2}}\begin{pmatrix}1&1&0&0\\ 1&-1&0&0\\ 0&0&1&-1\\ 0&0&1&1\end{pmatrix}$$ How do we find the output for ...
• 173