qbraid.runtime.AnnealingResultData

class AnnealingResultData(solutions=None, num_solutions=None)[source]

Class for storing and accessing the results of an annealing job.

__init__(solutions=None, num_solutions=None)[source]

Methods

__init__([solutions, num_solutions])

from_dict([data])

Creates a new AnnealingResultData instance from a dictionary.

from_object(model, **kwargs)

Creates a new AnnealingResultData instance from a AnnealingExperimentMetadata object.

to_dict()

Converts the AnnealingResultData instance to a dictionary.

Attributes

experiment_type

Returns the experiment type.

num_solutions

Returns the number of solutions.

solutions

Returns the solutions data of the run.