Contents
complex_rotation()
Batched rotation by unitary tensors.
v (Tensor) – shape: (a, 2*e) Complex tensor to rotate: v[:,:e] real part, v[:,e:] imaginary part.
Tensor
v[:,:e]
v[:,e:]
r (Tensor) – shape: (a, e) Rotate v[k] by \(e^{i \pi r[k]}\)
v[k]
shape: (a, 2*e) Row-wise rotated tensors.