0

I know that a Hadamard gate is implemented by rotating around the axis (x + z )/ sqrt(2), but how can I compute the matrix obtained by rotation around this axis by π radians, and compare to a Hadamard gate matrix.

Thanks for your help.

Eniola
  • 133
  • 10
  • 1
    Since this is a rotation around Y by 90 degrees and then around X by 180 degrees you should be able to construct the corresponding Y and X rotation matrices and then multiply them. – J.R. Feb 10 '20 at 02:13
  • Can you add a little details pls? @J.R. – Eniola Feb 10 '20 at 02:15
  • Maybe search for 'rotation around an arbitrary axis'; basically, you would decompose the rotation steps and then combine the rotation matrices. – J.R. Feb 10 '20 at 02:19

1 Answers1

0

Using H = (x + z)/ sqrt(2)

Find the rotation along x-axis (rx), and rotation along z-axis (rz), then multiply.

Eniola
  • 133
  • 10