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 19
19
QaaSJobClientData ,
20
20
QaaSJobData ,
21
21
QaaSJobRunData ,
22
+ QaaSNoiseModelData ,
23
+ QaaSNoiseModelSerializationFormat ,
22
24
)
23
25
from .quantum_as_a_service_api_client .models import (
24
26
ScalewayQaasV1Alpha1Application as QaaSApplication ,
Original file line number Diff line number Diff line change 13
13
# limitations under the License.
14
14
from dataclasses import dataclass
15
15
from enum import Enum
16
- from typing import Dict , List
16
+ from typing import Dict , List , Optional
17
17
18
18
from dataclasses_json import dataclass_json
19
19
@@ -33,6 +33,18 @@ class QaaSCircuitData:
33
33
circuit_serialization : str
34
34
35
35
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
+
36
48
@dataclass_json
37
49
@dataclass
38
50
class QaaSJobRunData :
@@ -60,3 +72,4 @@ class QaaSJobData:
60
72
client : QaaSJobClientData
61
73
backend : QaaSJobBackendData
62
74
run : QaaSJobRunData
75
+ noise_model : Optional [QaaSNoiseModelData ] = None
Original file line number Diff line number Diff line change 22
22
23
23
setup (
24
24
name = "scaleway_qaas_client" ,
25
- version = "0.1.21 " ,
25
+ version = "0.1.22 " ,
26
26
project_urls = {
27
27
"Documentation" : "https://www.scaleway.com/en/quantum-as-a-service/" ,
28
28
"Source" : "https://github.com/scaleway/scaleway-qaas-client-pythom" ,
You can’t perform that action at this time.
0 commit comments