deltakit.explorer.qpu.NativeGateSetAndTimes.from_times#

static NativeGateSetAndTimes.from_times(time_1_qubit_gate: float, time_2_qubit_gate: float, time_reset: float, time_measurement: float, native_gates: NativeGateSet | None = None)#

Assign times to gates based on class (1-qubit, 2-qubit, reset, measurement).

Parameters:
  • time_1_qubit_gate (float) – Time to execute a 1-qubit gate.

  • time_2_qubit_gate (float) – Time to execute a 2-qubit gate.

  • time_measurement (float) – Time to measure a qubit.

  • time_reset (float) – Time to reset a qubit.

  • native_gates (Optional[NativeGateSet]) – An instance of NativeGateSet specifying the native gates of the QPU.

Returns:

native_gates_and_times – A NativeGateSetAndTimes object representing the native gates and times of a QPU.

Return type:

NativeGateSetAndTimes