cunqa.qjob.Result
- class cunqa.qjob.Result(result, registers=None)
Class to describe the result of an experiment.
- __init__(result, registers=None)
Initializes the Result class.
Args:
result (dict): dictionary given as the result of the simulation.
registers (dict): in case the circuit has more than one classical register, dictionary for the lengths of the classical registers must be provided.
Methods
__init__
(result[, registers])Initializes the Result class.
get_counts
()Class method to obtain the information for the counts result for the given experiment.
get_dict
()Class method to obtain a dictionary with the class variables.