The Y basis vector is given by:
Y = 1/sqrt(2) * (|0> + i|1>)
Applying the Hadamard gate to Y, we get:
Y@0 = 1/sqrt(2) * (H|0> + iH|1>)
The Hadamard gate is given by:
H = 1/sqrt(2) * [[1, 1], [1, -1]]
Applying the Hadamard gate to |0> and |1>, we get:
H|0> =
Show more…