iqm.benchmarks.utils.count_2q_layers#
- iqm.benchmarks.utils.count_2q_layers(circuit_list: List[IQMCircuit]) List[int] #
Calculate the number of layers of parallel 2-qubit gates in a list of circuits.
- Parameters:
circuit_list (List[QuantumCircuit]) – the list of quantum circuits to analyze.
- Returns:
the number of layers of parallel 2-qubit gates in the list of circuits.
- Return type:
List[int]