qbraid.runtime.native.NECVectorAnnealerResultData
- class NECVectorAnnealerResultData(solutions=None, num_solutions=None)[source]
Class for storing and accessing the results of an NEC job.
- __init__(solutions=None, num_solutions=None)
Methods
__init__
([solutions, num_solutions])from_dict
(data)Creates a new AnnealingResultData instance from a dictionary.
from_object
(model, **kwargs)Creates a new ResultData instance from an ExperimentMetadata 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.