File tree Expand file tree Collapse file tree 3 files changed +17
-2
lines changed
scaleway_qaas_client/v1alpha1 Expand file tree Collapse file tree 3 files changed +17
-2
lines changed Original file line number Diff line number Diff line change 1919 QaaSJobClientData ,
2020 QaaSJobData ,
2121 QaaSJobRunData ,
22+ QaaSNoiseModelData ,
23+ QaaSNoiseModelSerializationFormat ,
2224)
2325from .quantum_as_a_service_api_client .models import (
2426 ScalewayQaasV1Alpha1Application as QaaSApplication ,
Original file line number Diff line number Diff line change 1313# limitations under the License.
1414from dataclasses import dataclass
1515from enum import Enum
16- from typing import Dict , List
16+ from typing import Dict , List , Optional
1717
1818from dataclasses_json import dataclass_json
1919
@@ -33,6 +33,18 @@ class QaaSCircuitData:
3333 circuit_serialization : str
3434
3535
36+ class QaaSNoiseModelSerializationFormat (Enum ):
37+ UNKOWN_CIRCUIT_SERIALIZATION = 0
38+ JSON = 1
39+
40+
41+ @dataclass_json
42+ @dataclass
43+ class QaaSNoiseModelData :
44+ serialization_format : QaaSNoiseModelSerializationFormat
45+ noise_model_serialization : str
46+
47+
3648@dataclass_json
3749@dataclass
3850class QaaSJobRunData :
@@ -60,3 +72,4 @@ class QaaSJobData:
6072 client : QaaSJobClientData
6173 backend : QaaSJobBackendData
6274 run : QaaSJobRunData
75+ noise_model : Optional [QaaSNoiseModelData ] = None
Original file line number Diff line number Diff line change 2222
2323setup (
2424 name = "scaleway_qaas_client" ,
25- version = "0.1.21 " ,
25+ version = "0.1.22 " ,
2626 project_urls = {
2727 "Documentation" : "https://www.scaleway.com/en/quantum-as-a-service/" ,
2828 "Source" : "https://github.com/scaleway/scaleway-qaas-client-pythom" ,
You can’t perform that action at this time.
0 commit comments