# Verify matrix is unitary

Hi,

A unitary matrix should have it transpose conjugate equal to its inverse. Please confirm that this statement is correct and check attached matrix as they are not equal and in doubt if I did correctly.

Thanks.

#### Attachments

• Unitary Matrix verification.JPG
14.6 KB · Views: 2,894

Hi,
suppose to have an unitary matrix (##U \in \mathbb{C}^{n \times n}##, so that ##U^{\dagger}=U^{-1}##), if you want to verify the unitariety of your matrix, just check if ##UU^{\dagger}= \mathbb{I}##.

• andphy
That helps thank you.

Fredrik
Staff Emeritus
Gold Member
Are you saying (in the attached file) that ##\begin{pmatrix}i & 0\\ 0 & 1\end{pmatrix}## is the inverse of ##\begin{pmatrix}1 & 0\\ 0 & i\end{pmatrix}##? It's not. To see this, just multiply these two matrices together.

HallsofIvy
Homework Helper
You have at one point, that the "transpose conjugate" of $\begin{bmatrix}1 & 0 \\ 0 & i\end{bmatrix}$ is $\begin{bmatrix}1 & 0 \\ 0 & -i\end{bmatrix}$. That is correct and that is the inverse matrix.

Below that, you have "inverse matrix" and $\begin{bmatrix} i & 0 \\ 0 & 1\end{bmatrix}$. I don't know where that came from!

Right the product will result in the inverse:

1 0
0 1

correct ?

Last edited:
Fredrik
Staff Emeritus