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[IQMCircuit]) – the list of quantum circuits to analyze.
- Returns:
The number of layers of parallel 2-qubit gates in the list of circuits.
- Return type: