pygsti.tools.symplectic.compute_num_symplectics

pygsti.tools.symplectic.compute_num_symplectics#

compute_num_symplectics(n)#

The number of elements in the symplectic group S(n) over the 2-element finite field.

Code from “How to efficiently select an arbitrary Clifford group element” by Robert Koenig and John A. Smolin.

Parameters:

n (int) – S(n) group parameter.

Return type:

int