Skip to content

jobs_estimation_result

OQTOPUS Cloud User API

OQTOPUS Cloud User API. This API is used to interact with the OQTOPUS Cloud service. The API provides endpoints to manage devices, jobs, and results.

The version of the OpenAPI document: 1.0 Contact: oqtopus-team[at]googlegroups.com Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.

Classes:

  • JobsEstimationResult

    (Only for estimation jobs) The estimated expectation value and the standard deviation of the operators specified in job_info.operator field which is intended to be provided for estimation jobs.

JobsEstimationResult


              flowchart TD
              oqtopus_client.rest.models.jobs_estimation_result.JobsEstimationResult[JobsEstimationResult]

              

              click oqtopus_client.rest.models.jobs_estimation_result.JobsEstimationResult href "" "oqtopus_client.rest.models.jobs_estimation_result.JobsEstimationResult"
            

(Only for estimation jobs) The estimated expectation value and the standard deviation of the operators specified in job_info.operator field which is intended to be provided for estimation jobs.

Methods:

  • from_dict

    Create an instance of JobsEstimationResult from a dict

  • from_json

    Create an instance of JobsEstimationResult from a JSON string

  • to_dict

    Return the dictionary representation of the model using alias.

  • to_json

    Returns the JSON representation of the model using alias

  • to_str

    Returns the string representation of the model using alias

from_dict classmethod

from_dict(obj: Optional[Dict[str, Any]]) -> Optional[Self]

Create an instance of JobsEstimationResult from a dict

from_json classmethod

from_json(json_str: str) -> Optional[Self]

Create an instance of JobsEstimationResult from a JSON string

to_dict

to_dict() -> Dict[str, Any]

Return the dictionary representation of the model using alias.

This has the following differences from calling pydantic's self.model_dump(by_alias=True):

  • None is only added to the output dict for nullable fields that were set at model initialization. Other fields with value None are ignored.

to_json

to_json() -> str

Returns the JSON representation of the model using alias

to_str

to_str() -> str

Returns the string representation of the model using alias