max_measurement_weight

max_measurement_weight#

ssip.basic_functions.max_measurement_weight(C: CSScode)[source]#

Finds the maximum weight of any generator in a CSScode.

Parameters:

C – The CSScode to check.

Returns:

The maximum number of qubits in the support of any generator.