Matrices Often Used in Quantum Computing

Click For Summary

Discussion Overview

The discussion revolves around matrices commonly used in quantum computing, including their properties and applications. Participants share insights on specific quantum gates, their mathematical representations, and their roles in quantum algorithms.

Discussion Character

  • Technical explanation
  • Exploratory

Main Points Raised

  • One participant introduces a table of quantum gates, detailing their matrices, whether they are unitary, and their eigenvalues and normalized eigenvectors.
  • Specific gates discussed include Hadamard, Pauli X, Y, Z, Phase, and pi/8 gates, with their mathematical forms provided.
  • Another participant suggests moving the discussion to the Quantum Mechanics or Computer Science forum, indicating a belief that the topic may be more appropriate there.
  • A later post mentions the development of a quantum computer simulator that implements Shor's and Grover's algorithms, with a link to the source code.
  • The participant notes that the Phase and pi/8 gates can be utilized within a more general PhaseShiftGate.

Areas of Agreement / Disagreement

There is no clear consensus on whether the discussion should remain in the current forum or be moved to another. Additionally, the utility of the information presented for stickying is contested.

Contextual Notes

The discussion includes technical details about quantum gates but does not resolve the appropriateness of the forum for the topic or the significance of the contributions for future reference.

Ackbach
Gold Member
MHB
Messages
4,148
Reaction score
94
I am beginning a study I have long wanted to engage in: quantum computing. This is a field lying at the intersection of mathematics, physics, computer science, and electrical engineering - all topics I studied, to varying levels. From time to time, I plan on posting notes and summaries that might prove useful to others studying the same thing. Without further ado:

$$\begin{array}{|c|c|c|c|c|c|} \hline
\textbf{Name} &\textbf{Matrix} &A^{\dagger}A=I? &A=A^{\dagger}? &\textbf{E-values} &\textbf{Norm. E-vectors} \\
\hline
\text{Hadamard} &H=\dfrac{1}{\sqrt{2}}\begin{bmatrix}1 &1\\1 &-1\end{bmatrix} &\text{Yes} &\text{Yes}
&1,\; -1 &\dfrac{1}{\sqrt{4-2\sqrt{2}}}\begin{bmatrix}1 \\ \sqrt{2}-1\end{bmatrix}, \;
\dfrac{1}{\sqrt{4+2\sqrt{2}}}\begin{bmatrix}1 \\ -\sqrt{2}-1\end{bmatrix} \\ \hline
\text{Pauli }X &X=\begin{bmatrix}0 &1\\1 &0\end{bmatrix} &\text{Yes} &\text{Yes} &1, \; -1
&\dfrac{1}{\sqrt{2}}\begin{bmatrix}1\\1\end{bmatrix}, \; \dfrac{1}{\sqrt{2}}
\begin{bmatrix}1\\-1\end{bmatrix} \\ \hline
\text{Pauli }Y &Y=\begin{bmatrix}0&-i\\i&0\end{bmatrix} &\text{Yes} &\text{Yes}
&1, \; -1 &\dfrac{1}{\sqrt{2}}\begin{bmatrix}1\\i\end{bmatrix}, \; \dfrac{1}{\sqrt{2}}
\begin{bmatrix}1\\-i\end{bmatrix} \\ \hline
\text{Pauli }Z &Z=\begin{bmatrix}1&0\\0&-1\end{bmatrix} &\text{Yes} &\text{Yes}
&1, \; -1 &\begin{bmatrix}1\\0\end{bmatrix}, \; \begin{bmatrix}0\\1\end{bmatrix} \\ \hline
\text{Phase} &S=\begin{bmatrix}1&0\\0&i\end{bmatrix} &\text{Yes} &\text{No} &1,\;i
&\begin{bmatrix}1\\0\end{bmatrix}, \; \begin{bmatrix}0\\1\end{bmatrix} \\ \hline
\pi/8 &T=\begin{bmatrix}1&0\\0&e^{i\pi/4}\end{bmatrix} &\text{Yes} &\text{No} &1, \; e^{i\pi/4}
&\begin{bmatrix}1\\0\end{bmatrix}, \; \begin{bmatrix}0\\1\end{bmatrix} \\ \hline
\end{array}$$
 
Last edited by a moderator:
  • Like
Likes   Reactions: aaroman and vanhees71
Physics news on Phys.org
Greg Bernhardt said:
Thanks @Ackbach! Think we can move to QM or Comp Sci forum?
Let's put these two in QM. I don't think they're useful enough for stickying.
 
A few days ago, I started to implement a quantum computer simulator. It's very basic but the things I tried seem to work ok.
For now only Shor (the quantum part) and Grover algorithms are there but I intend to add more.
Source code here: https://github.com/aromanro/QCSim
Phase and pi/8 gates mentioned above can be used with the more general PhaseShiftGate.
 
  • Like
Likes   Reactions: Ackbach

Similar threads

  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 22 ·
Replies
22
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K