cunqa.result
Contains the Result
class, which gathers the information about the output of a simulations, also other functions
to manage them.
Once we have submmited a QJob
, for obtaining its results we call for its propperty QJob.result
:
>>> qjob.result
<cunqa.result.Result object at XXXX>
This object has two main attributes for out interest: the counts distribution from the simulation and the time that the simulation took in seconds:
>>> result = qjob.result
>>> result.counts
{'000':34, '111':66}
>>> result.time_taken
0.056
Classes
Class to describe the result of a simulation. |
Exceptions
Exception for error received from a simulation. |