Rx: Rotation operation about x-axis of the Bloch sphere
Description
This function operates the Rotation gate about the x-axis of the Bloch sphere by an angle theta on a conformable input matrix n.
Usage
Rx(n, theta)
Arguments
n
a vector/matrix
theta
an angle
Value
A vector or a matrix after operating the Rotation gate about the x-axis of the Bloch sphere, by an angle theta, on a conformable input matrix or a vector n