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) – BenchmarkConfigurationBase Configuration class containing variables
num_qubits (int) – int The number of qubits on which the gate set is defined
qubit_layouts (List[List[int]]) – List[List[int]] A List of physical qubit layouts, as specified by integer labels, where the benchmark is meant to be run.
- Returns:
- List[QuantumCircuit]
A list of gates defined as quantum circuit objects
- gate_labels_dict: Dict[str, Dict[int, str]]
The names of gates, i.e. “Rx(pi/2)” for a pi/2 rotation around the x-axis.
- num_gates: int
The number of gates in the gate set
- Return type:
gate_set