deltakit.explorer.qpu.QPU.get_circuit_execution_time#

QPU.get_circuit_execution_time(circuit: Circuit) float#

Compute the total circuit execution time (in seconds), given a compiled circuit. This provides an estimate of the runtime of the circuit on a real QPU.

Parameters:

circuit (Circuit) – Circuit to be assessed.

Returns:

Time (in seconds) of total circuit execution.

Return type:

float

Raises:

ValueError – If circuit contains non-native gates for the QPU. If circuit uses qubits not present on the QPU.