iqm.benchmarks.utils#
General utility functions
Functions
|
Calculate the number of layers of parallel 2-qubit gates in a list of circuits. |
|
Count the number of IQM native gates of each quantum circuit in a list. |
|
Get the IQM backend object from a backend name (str). |
|
Compute the marginal distribution over specified bits (indices) |
|
Transpile a list of circuits to backend specifications. |
|
Reduces a quantum circuit to only its active qubits. |
|
Retrieve the counts from a list of IQMJob objects. |
|
Retrieve the counts from a list of IQMJob objects. |
|
Set a coupling map according to the specified physical layout. |
Sort batches of circuits according to the final measurement mapping in their corresponding backend. |
|
|
Submit for execute a list of quantum circuits on the specified Backend. |
|
Calculates the amount of time a function takes to execute |
|
Retrieve counts from xarray dataset. |