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_typeReturns the experiment type.
num_solutionsReturns the number of solutions.
solutionsReturns the solutions data of the run.