iqm.benchmarks.compressive_gst.compressive_gst.parse_gate_set#
- iqm.benchmarks.compressive_gst.compressive_gst.parse_gate_set(configuration: GSTConfiguration, num_qubits: int, qubit_layouts: list[list[int]]) tuple[list[IQMCircuit], dict[str, dict[int, str]], int]#
Handles different gate set inputs and produces a valid gate set.
- Parameters:
configuration (GSTConfiguration) – Configuration class containing variables
num_qubits (int) – The number of qubits on which the gate set is defined
qubit_layouts (list[list[int]]) – A List of physical qubit layouts, as specified by integer labels, where the benchmark is meant to be run.
- Returns:
A list of gates defined as quantum circuit objects gate_labels_dict:
The names of gates, i.e. “Rx_pi_2” for a pi/2 rotation around the x-axis.
- num_gates:
The number of gates in the gate set
- Return type: