quri_parts.qiskit.backend.tracker module#

class Tracker#

Bases: object

A tracker that tracks how much billable time is used by jobs executed on IBM Backends.

property total_run_time: float#

The total run time that is billable.

property finished_jobs: Sequence['QiskitRuntimeSamplingJob']#

All the jobs that are finished by the IBM backend.

property running_jobs: Sequence['QiskitRuntimeSamplingJob']#

All the jobs that are still runnign on the IBM backend.

add_job_for_tracking(runtime_job)#

Register QiskitRuntimeSamplingJob to the tracker for tracking billable job execution time.

Parameters:

runtime_job (QiskitRuntimeSamplingJob) –

Return type:

None