Mapping between rotations and operations: sign & handedness

Click For Summary

Discussion Overview

The discussion revolves around the representation of quantum operations in a toy quantum circuit simulator, specifically focusing on the correctness of visual representations as Hamiltonians, unitary matrices, and Bloch sphere rotations. Participants are examining a specific example involving the rotation of a qubit around the X axis and questioning potential sign and handedness errors in the calculations presented.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant presents a Hamiltonian and unitary matrix representation for a qubit rotation and questions the correctness of their calculations, particularly regarding a minus sign in the exponential term.
  • Another participant queries whether the determinant of the unitary matrix should equal 1, suggesting a possible sign error in the calculations.
  • A subsequent participant confirms that their own calculation of the determinant yields 1, providing a detailed breakdown of the steps involved.
  • A later reply acknowledges a mistake in tracking negations, suggesting that the initial concern about the sign error may have been unfounded.

Areas of Agreement / Disagreement

Participants express differing views on the presence of a sign error in the calculations. While one participant raises a concern, another confirms the determinant is correct, leading to a correction of the initial claim. The discussion remains somewhat unresolved regarding the necessity of the minus sign in the exponential term.

Contextual Notes

There are unresolved aspects regarding the assumptions made in the calculations, particularly concerning the representation of the Hamiltonian and the implications of the sign in the exponential function.

Strilanc
Science Advisor
Messages
612
Reaction score
229
I have a toy quantum circuit simulator that I work on. I want to visually represent operations in multiple ways: as a Hamiltonian, as a unitary matrix, and as a Bloch sphere rotation. I want to double-check that I haven't flipped anything.

I'll focus a concrete example: is this animation correct?

9qVpM6A.gif


We're in a right-handed coordinate system. Z points up, X points right, and Y points away. I have a qubit; perhaps embodied in the spin of an electron. I begin rotating the qubit around the X axis at 0.5 Hz, so that after a quarter second it's at been rotated by +45 degrees.

The Hamiltonian for this operation is ##H = X = \begin{bmatrix} 0&1\\1& 0\end{bmatrix}## (I think). The unitary form is:

##\begin{align} U(t) &= \exp(-i t H)\\&= \exp(-i t X)\\&= \exp(-i t (1)) \frac{1}{2} \begin{bmatrix} 1&1\\1&1 \end{bmatrix} + \exp(-i t (-1)) \frac{1}{2} \begin{bmatrix} 1&-1\\-1&1 \end{bmatrix} \\&=\frac{1}{2} \begin{bmatrix} e^{-it}+e^{it} & e^{-it}-e^{it} \\ e^{-it}-e^{it} & e^{-it}+e^{it} \end{bmatrix}\\&=\begin{bmatrix} \cos t & -i \sin t \\ -i \sin t & \cos t \end{bmatrix}\end{align}##

Does that all sound right? Did I make a sign error or a handedness error? The thing I'm most unsure about is the minus sign in ##\exp(-i t H)##. It seems... really unnecessary.
 
Physics news on Phys.org
Should det U = 1? If so, you must have a sign error in your last equation.
 
haruspex said:
Should det U = 1? If so, you must have a sign error in your last equation.

When I calculate the determinant, I get 1:

##\begin{align} \det \begin{bmatrix} \cos t & -i \sin t \\ -i \sin t & \cos t \end{bmatrix} &= (\cos t)^2 - (-i \sin t)^2 \\&= \cos^2 t - (-i)^2 \sin^2 t \\&= \cos^2 t - (-1) \sin^2 t \\&= \cos^2 t + \sin^2 t \\&= 1 \end{align}##
 
Strilanc said:
When I calculate the determinant, I get 1:

##\begin{align} \det \begin{bmatrix} \cos t & -i \sin t \\ -i \sin t & \cos t \end{bmatrix} &= (\cos t)^2 - (-i \sin t)^2 \\&= \cos^2 t - (-i)^2 \sin^2 t \\&= \cos^2 t - (-1) \sin^2 t \\&= \cos^2 t + \sin^2 t \\&= 1 \end{align}##
Sorry, you're right. I lost track of the number of negations.
 

Similar threads

  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 27 ·
Replies
27
Views
4K