File tree 2 files changed +27
-0
lines changed
packages_generated/qaas/src/v1alpha1
2 files changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -116,12 +116,20 @@ export const unmarshalPlatform = (data: unknown): Platform => {
116
116
? unmarshalPlatformHardware ( data . hardware )
117
117
: undefined ,
118
118
id : data . id ,
119
+ maxCircuitCount : data . max_circuit_count ,
119
120
maxQubitCount : data . max_qubit_count ,
121
+ maxShotCount : data . max_shot_count ,
120
122
metadata : data . metadata ,
121
123
name : data . name ,
124
+ pricePerCircuit : data . price_per_circuit
125
+ ? unmarshalMoney ( data . price_per_circuit )
126
+ : undefined ,
122
127
pricePerHour : data . price_per_hour
123
128
? unmarshalMoney ( data . price_per_hour )
124
129
: undefined ,
130
+ pricePerShot : data . price_per_shot
131
+ ? unmarshalMoney ( data . price_per_shot )
132
+ : undefined ,
125
133
providerName : data . provider_name ,
126
134
technology : data . technology ,
127
135
type : data . type ,
Original file line number Diff line number Diff line change @@ -76,11 +76,14 @@ export type PlatformAvailability =
76
76
| 'available'
77
77
| 'shortage'
78
78
| 'scarce'
79
+ | 'maintenance'
79
80
80
81
export type PlatformTechnology =
81
82
| 'unknown_technology'
82
83
| 'photonic'
83
84
| 'general_purpose'
85
+ | 'trapped_ion'
86
+ | 'superconducting'
84
87
85
88
export type PlatformType = 'unknown_type' | 'simulator' | 'qpu'
86
89
@@ -276,6 +279,14 @@ export interface Platform {
276
279
* Estimated maximum number of qubits supported by the platform.
277
280
*/
278
281
maxQubitCount : number
282
+ /**
283
+ * Maximum number of shots during a circuit execution.
284
+ */
285
+ maxShotCount : number
286
+ /**
287
+ * Maximum number of circuit that can be executed in one call.
288
+ */
289
+ maxCircuitCount : number
279
290
/**
280
291
* Availability of the platform.
281
292
*/
@@ -288,6 +299,14 @@ export interface Platform {
288
299
* Price to be paid per hour (excluding free tiers).
289
300
*/
290
301
pricePerHour ?: Money
302
+ /**
303
+ * Price to be paid per shot (excluding free tiers).
304
+ */
305
+ pricePerShot ?: Money
306
+ /**
307
+ * Price to be paid per circuit setup before its execution (excluding free tiers).
308
+ */
309
+ pricePerCircuit ?: Money
291
310
/**
292
311
* Specifications of the underlying hardware.
293
312
*/
You can’t perform that action at this time.
0 commit comments