qbraid.runtime.AhsResultData
- class AhsResultData(measurement_counts=None, measurements=None)[source]
Class for storing and accessing the results of an analog Hamiltonian simulation job.
Methods
__init__([measurement_counts, measurements])from_dict(data)Creates a new AhsResultData instance from a dictionary.
from_object(model, **kwargs)Creates a new ResultData instance from an ExperimentMetadata object.
get_counts()Returns the histogram data of the run.
to_dict()Converts the AhsResultData instance to a dictionary.
Attributes
experiment_typeReturns the experiment type.
measurementsReturns the measurements data of the run.