qbraid.runtime.Result

class Result(device_id, job_id, success, data, **kwargs)[source]

Represents the results of a quantum job. This class is intended to be initialized by a QuantumJob class.

Parameters:
  • device_id (str) – The ID of the device that executed the job.

  • job_id (str) – The ID of the job.

  • success (bool) – Whether the job was successful.

  • data (ResultData) – The result of the job.

  • **details – Additional metadata about the job results

Create a new Result object.

__init__(device_id, job_id, success, data, **kwargs)[source]

Create a new Result object.

Methods

__init__(device_id, job_id, success, data, ...)

Create a new Result object.

measurement_counts(*args, **kwargs)

Returns the measurement counts of the job.

measurements()

Returns the measurements of the job.

Attributes

data

Returns the result of the job.

details

Returns the result of the job.