iqm.benchmarks.compressive_gst.compressive_gst.create_predefined_gate_set

iqm.benchmarks.compressive_gst.compressive_gst.create_predefined_gate_set#

iqm.benchmarks.compressive_gst.compressive_gst.create_predefined_gate_set(gate_set: str | List[Any], num_qubits: int, qubit_layouts: List[List[int]]) Tuple[List[IQMCircuit], Dict[str, Dict[int, str]], int]#

Create a list of quantum circuits corresponding to a predefined gate set.

The circuits are assigned to the specified qubit_layouts on the backend only during transipilation, so the qubit labels at this stage may not represent the actual qubit labels on the backend.

Parameters:
Returns:

List[QuantumCircuit]

The gate set as a list of circuits

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:

gates