pygsti.tools.symplectic.compute_num_cliffords

pygsti.tools.symplectic.compute_num_cliffords#

compute_num_cliffords(n)#

The number of Clifford gates in the n-qubit Clifford group.

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

Parameters:

n (int) – The number of qubits the Clifford group is over.

Returns:

The cardinality of the n-qubit Clifford group.

Return type:

long integer