pygsti.tools.symplectic.symplectic_transvection#
- symplectic_transvection(k, v)#
Applies transvection Z k to v.
Code from “How to efficiently select an arbitrary Clifford group element by Robert Koenig and John A. Smolin.
- Parameters:
k (numpy.ndarray) – A length-2n vector.
v (numpy.ndarray) – A length-2n vector.
- Return type:
numpy.ndarray