CliffordUtils.find_key

CliffordUtils.find_key(cliff, num_qubits)[source]

Find the Clifford index.

Parameters
  • cliff (Clifford) – a Clifford object.

  • num_qubits (int) – dimension of the Clifford object.

Returns

An integer which is the Clifford index in the group table.

Return type

int