quri_parts.qiskit.backend.tracker module#

class quri_parts.qiskit.backend.tracker.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: QiskitRuntimeSamplingJob) None#

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