iqm.benchmarks.compressive_gst.mgst.qiskit_interface

iqm.benchmarks.compressive_gst.mgst.qiskit_interface#

Bridge between mGST and Qiskit.

Functions

add_idle_gates(gate_set, active_qubits, ...)

Add additional idle gates to a gate set.

get_composed_qiskit_circuits(gate_sequences, ...)

Turn GST sequences into Qiskit circuits, adding context gates if provided.

get_gate_sequence(sequence_number, ...)

Generate a set of random gate sequences.

get_qiskit_circuits(gate_sequences, ...)

Generate a set of Qiskit quantum circuits from specified gate sequences.

job_counts_to_mgst_format(active_qubits, ...)

Turns the dictionary of outcomes from qiskit backend into the format which is used in mGST.

qiskit_gate_to_operator(gate_set)

Convert a set of Qiskit gates to their unitary operators.

remove_idle_wires(qc)

Removes all wires on which no gate acts.