Skip to content

feat(qaas): add new billing and qpu tech #2030

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 25, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions packages_generated/qaas/src/v1alpha1/marshalling.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,12 +116,20 @@ export const unmarshalPlatform = (data: unknown): Platform => {
? unmarshalPlatformHardware(data.hardware)
: undefined,
id: data.id,
maxCircuitCount: data.max_circuit_count,
maxQubitCount: data.max_qubit_count,
maxShotCount: data.max_shot_count,
metadata: data.metadata,
name: data.name,
pricePerCircuit: data.price_per_circuit
? unmarshalMoney(data.price_per_circuit)
: undefined,
pricePerHour: data.price_per_hour
? unmarshalMoney(data.price_per_hour)
: undefined,
pricePerShot: data.price_per_shot
? unmarshalMoney(data.price_per_shot)
: undefined,
providerName: data.provider_name,
technology: data.technology,
type: data.type,
Expand Down
19 changes: 19 additions & 0 deletions packages_generated/qaas/src/v1alpha1/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,14 @@ export type PlatformAvailability =
| 'available'
| 'shortage'
| 'scarce'
| 'maintenance'

export type PlatformTechnology =
| 'unknown_technology'
| 'photonic'
| 'general_purpose'
| 'trapped_ion'
| 'superconducting'

export type PlatformType = 'unknown_type' | 'simulator' | 'qpu'

Expand Down Expand Up @@ -276,6 +279,14 @@ export interface Platform {
* Estimated maximum number of qubits supported by the platform.
*/
maxQubitCount: number
/**
* Maximum number of shots during a circuit execution.
*/
maxShotCount: number
/**
* Maximum number of circuit that can be executed in one call.
*/
maxCircuitCount: number
/**
* Availability of the platform.
*/
Expand All @@ -288,6 +299,14 @@ export interface Platform {
* Price to be paid per hour (excluding free tiers).
*/
pricePerHour?: Money
/**
* Price to be paid per shot (excluding free tiers).
*/
pricePerShot?: Money
/**
* Price to be paid per circuit setup before its execution (excluding free tiers).
*/
pricePerCircuit?: Money
/**
* Specifications of the underlying hardware.
*/
Expand Down
Loading