qunicorn_core.db.models.result module
- class qunicorn_core.db.models.result.ResultDataclass(job=None, program=None, data=None, meta=None, result_type='COUNTS')
Bases:
DbModelDataclass for storing results of a job
- Attributes:
id (int): The ID of the result. (set by the database) job (JobDataclass, optional): The job that was executed. program (QuantumProgramDataclass, optional): The specific program that was executed. data (Any): The result of the job, in the given result_type. meta (dict): Some other data that was given by ibm. result_type (Enum): Result type depending on the Job_Type of the job.
- job: Mapped[JobDataclass | None]
- program: Mapped[QuantumProgramDataclass | None]