Skip to content

Commit df98f15

Browse files
committed
Regenerates QuantumEngineService gRPC client libraries with GAPIC
1 parent 731f1bf commit df98f15

30 files changed

+10489
-1704
lines changed

cirq-google/cirq_google/cloud/quantum/__init__.py

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- coding: utf-8 -*-
2-
# Copyright 2022 Google LLC
2+
# Copyright 2025 Google LLC
33
#
44
# Licensed under the Apache License, Version 2.0 (the "License");
55
# you may not use this file except in compliance with the License.
@@ -13,6 +13,10 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16+
from cirq_google.cloud.quantum import gapic_version as package_version
17+
18+
__version__ = package_version.__version__
19+
1620

1721
from cirq_google.cloud.quantum_v1alpha1.services.quantum_engine_service.client import (
1822
QuantumEngineServiceClient,
@@ -32,6 +36,7 @@
3236
from cirq_google.cloud.quantum_v1alpha1.types.engine import DeleteQuantumReservationRequest
3337
from cirq_google.cloud.quantum_v1alpha1.types.engine import GetQuantumCalibrationRequest
3438
from cirq_google.cloud.quantum_v1alpha1.types.engine import GetQuantumJobRequest
39+
from cirq_google.cloud.quantum_v1alpha1.types.engine import GetQuantumProcessorConfigRequest
3540
from cirq_google.cloud.quantum_v1alpha1.types.engine import GetQuantumProcessorRequest
3641
from cirq_google.cloud.quantum_v1alpha1.types.engine import GetQuantumProgramRequest
3742
from cirq_google.cloud.quantum_v1alpha1.types.engine import GetQuantumReservationRequest
@@ -61,6 +66,7 @@
6166
from cirq_google.cloud.quantum_v1alpha1.types.engine import UpdateQuantumJobRequest
6267
from cirq_google.cloud.quantum_v1alpha1.types.engine import UpdateQuantumProgramRequest
6368
from cirq_google.cloud.quantum_v1alpha1.types.engine import UpdateQuantumReservationRequest
69+
from cirq_google.cloud.quantum_v1alpha1.types.quantum import DeviceConfigKey
6470
from cirq_google.cloud.quantum_v1alpha1.types.quantum import DeviceConfigSelector
6571
from cirq_google.cloud.quantum_v1alpha1.types.quantum import ExecutionStatus
6672
from cirq_google.cloud.quantum_v1alpha1.types.quantum import GcsLocation
@@ -70,14 +76,14 @@
7076
from cirq_google.cloud.quantum_v1alpha1.types.quantum import QuantumJob
7177
from cirq_google.cloud.quantum_v1alpha1.types.quantum import QuantumJobEvent
7278
from cirq_google.cloud.quantum_v1alpha1.types.quantum import QuantumProcessor
79+
from cirq_google.cloud.quantum_v1alpha1.types.quantum import QuantumProcessorConfig
7380
from cirq_google.cloud.quantum_v1alpha1.types.quantum import QuantumProgram
7481
from cirq_google.cloud.quantum_v1alpha1.types.quantum import QuantumReservation
7582
from cirq_google.cloud.quantum_v1alpha1.types.quantum import QuantumReservationBudget
7683
from cirq_google.cloud.quantum_v1alpha1.types.quantum import QuantumReservationGrant
7784
from cirq_google.cloud.quantum_v1alpha1.types.quantum import QuantumResult
7885
from cirq_google.cloud.quantum_v1alpha1.types.quantum import QuantumTimeSlot
7986
from cirq_google.cloud.quantum_v1alpha1.types.quantum import SchedulingConfig
80-
from cirq_google.cloud.quantum_v1alpha1.types.quantum import DeviceConfigKey
8187

8288
__all__ = (
8389
'QuantumEngineServiceClient',
@@ -93,6 +99,7 @@
9399
'DeleteQuantumReservationRequest',
94100
'GetQuantumCalibrationRequest',
95101
'GetQuantumJobRequest',
102+
'GetQuantumProcessorConfigRequest',
96103
'GetQuantumProcessorRequest',
97104
'GetQuantumProgramRequest',
98105
'GetQuantumReservationRequest',
@@ -122,6 +129,7 @@
122129
'UpdateQuantumJobRequest',
123130
'UpdateQuantumProgramRequest',
124131
'UpdateQuantumReservationRequest',
132+
'DeviceConfigKey',
125133
'DeviceConfigSelector',
126134
'ExecutionStatus',
127135
'GcsLocation',
@@ -131,12 +139,12 @@
131139
'QuantumJob',
132140
'QuantumJobEvent',
133141
'QuantumProcessor',
142+
'QuantumProcessorConfig',
134143
'QuantumProgram',
135144
'QuantumReservation',
136145
'QuantumReservationBudget',
137146
'QuantumReservationGrant',
138147
'QuantumResult',
139148
'QuantumTimeSlot',
140149
'SchedulingConfig',
141-
'DeviceConfigKey',
142150
)
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# -*- coding: utf-8 -*-
2+
# Copyright 2025 Google LLC
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
#
16+
__version__ = "0.0.0" # {x-release-please-version}

cirq-google/cirq_google/cloud/quantum_v1alpha1/__init__.py

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- coding: utf-8 -*-
2-
# Copyright 2022 Google LLC
2+
# Copyright 2025 Google LLC
33
#
44
# Licensed under the Apache License, Version 2.0 (the "License");
55
# you may not use this file except in compliance with the License.
@@ -13,6 +13,10 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16+
from . import gapic_version as package_version
17+
18+
__version__ = package_version.__version__
19+
1620

1721
from .services.quantum_engine_service import QuantumEngineServiceClient
1822
from .services.quantum_engine_service import QuantumEngineServiceAsyncClient
@@ -28,6 +32,7 @@
2832
from .types.engine import DeleteQuantumReservationRequest
2933
from .types.engine import GetQuantumCalibrationRequest
3034
from .types.engine import GetQuantumJobRequest
35+
from .types.engine import GetQuantumProcessorConfigRequest
3136
from .types.engine import GetQuantumProcessorRequest
3237
from .types.engine import GetQuantumProgramRequest
3338
from .types.engine import GetQuantumReservationRequest
@@ -57,6 +62,7 @@
5762
from .types.engine import UpdateQuantumJobRequest
5863
from .types.engine import UpdateQuantumProgramRequest
5964
from .types.engine import UpdateQuantumReservationRequest
65+
from .types.quantum import DeviceConfigKey
6066
from .types.quantum import DeviceConfigSelector
6167
from .types.quantum import ExecutionStatus
6268
from .types.quantum import GcsLocation
@@ -66,14 +72,14 @@
6672
from .types.quantum import QuantumJob
6773
from .types.quantum import QuantumJobEvent
6874
from .types.quantum import QuantumProcessor
75+
from .types.quantum import QuantumProcessorConfig
6976
from .types.quantum import QuantumProgram
7077
from .types.quantum import QuantumReservation
7178
from .types.quantum import QuantumReservationBudget
7279
from .types.quantum import QuantumReservationGrant
7380
from .types.quantum import QuantumResult
7481
from .types.quantum import QuantumTimeSlot
7582
from .types.quantum import SchedulingConfig
76-
from .types.quantum import DeviceConfigKey
7783

7884
__all__ = (
7985
'QuantumEngineServiceAsyncClient',
@@ -86,11 +92,13 @@
8692
'DeleteQuantumJobRequest',
8793
'DeleteQuantumProgramRequest',
8894
'DeleteQuantumReservationRequest',
95+
'DeviceConfigKey',
8996
'DeviceConfigSelector',
9097
'ExecutionStatus',
9198
'GcsLocation',
9299
'GetQuantumCalibrationRequest',
93100
'GetQuantumJobRequest',
101+
'GetQuantumProcessorConfigRequest',
94102
'GetQuantumProcessorRequest',
95103
'GetQuantumProgramRequest',
96104
'GetQuantumReservationRequest',
@@ -120,6 +128,7 @@
120128
'QuantumJob',
121129
'QuantumJobEvent',
122130
'QuantumProcessor',
131+
'QuantumProcessorConfig',
123132
'QuantumProgram',
124133
'QuantumReservation',
125134
'QuantumReservationBudget',
@@ -134,5 +143,4 @@
134143
'UpdateQuantumJobRequest',
135144
'UpdateQuantumProgramRequest',
136145
'UpdateQuantumReservationRequest',
137-
'DeviceConfigKey',
138146
)

cirq-google/cirq_google/cloud/quantum_v1alpha1/gapic_metadata.json

Lines changed: 160 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,11 @@
6565
"get_quantum_processor"
6666
]
6767
},
68+
"GetQuantumProcessorConfig": {
69+
"methods": [
70+
"get_quantum_processor_config"
71+
]
72+
},
6873
"GetQuantumProgram": {
6974
"methods": [
7075
"get_quantum_program"
@@ -210,6 +215,161 @@
210215
"get_quantum_processor"
211216
]
212217
},
218+
"GetQuantumProcessorConfig": {
219+
"methods": [
220+
"get_quantum_processor_config"
221+
]
222+
},
223+
"GetQuantumProgram": {
224+
"methods": [
225+
"get_quantum_program"
226+
]
227+
},
228+
"GetQuantumReservation": {
229+
"methods": [
230+
"get_quantum_reservation"
231+
]
232+
},
233+
"GetQuantumResult": {
234+
"methods": [
235+
"get_quantum_result"
236+
]
237+
},
238+
"ListQuantumCalibrations": {
239+
"methods": [
240+
"list_quantum_calibrations"
241+
]
242+
},
243+
"ListQuantumJobEvents": {
244+
"methods": [
245+
"list_quantum_job_events"
246+
]
247+
},
248+
"ListQuantumJobs": {
249+
"methods": [
250+
"list_quantum_jobs"
251+
]
252+
},
253+
"ListQuantumProcessors": {
254+
"methods": [
255+
"list_quantum_processors"
256+
]
257+
},
258+
"ListQuantumPrograms": {
259+
"methods": [
260+
"list_quantum_programs"
261+
]
262+
},
263+
"ListQuantumReservationBudgets": {
264+
"methods": [
265+
"list_quantum_reservation_budgets"
266+
]
267+
},
268+
"ListQuantumReservationGrants": {
269+
"methods": [
270+
"list_quantum_reservation_grants"
271+
]
272+
},
273+
"ListQuantumReservations": {
274+
"methods": [
275+
"list_quantum_reservations"
276+
]
277+
},
278+
"ListQuantumTimeSlots": {
279+
"methods": [
280+
"list_quantum_time_slots"
281+
]
282+
},
283+
"QuantumRunStream": {
284+
"methods": [
285+
"quantum_run_stream"
286+
]
287+
},
288+
"ReallocateQuantumReservationGrant": {
289+
"methods": [
290+
"reallocate_quantum_reservation_grant"
291+
]
292+
},
293+
"UpdateQuantumJob": {
294+
"methods": [
295+
"update_quantum_job"
296+
]
297+
},
298+
"UpdateQuantumProgram": {
299+
"methods": [
300+
"update_quantum_program"
301+
]
302+
},
303+
"UpdateQuantumReservation": {
304+
"methods": [
305+
"update_quantum_reservation"
306+
]
307+
}
308+
}
309+
},
310+
"rest": {
311+
"libraryClient": "QuantumEngineServiceClient",
312+
"rpcs": {
313+
"CancelQuantumJob": {
314+
"methods": [
315+
"cancel_quantum_job"
316+
]
317+
},
318+
"CancelQuantumReservation": {
319+
"methods": [
320+
"cancel_quantum_reservation"
321+
]
322+
},
323+
"CreateQuantumJob": {
324+
"methods": [
325+
"create_quantum_job"
326+
]
327+
},
328+
"CreateQuantumProgram": {
329+
"methods": [
330+
"create_quantum_program"
331+
]
332+
},
333+
"CreateQuantumReservation": {
334+
"methods": [
335+
"create_quantum_reservation"
336+
]
337+
},
338+
"DeleteQuantumJob": {
339+
"methods": [
340+
"delete_quantum_job"
341+
]
342+
},
343+
"DeleteQuantumProgram": {
344+
"methods": [
345+
"delete_quantum_program"
346+
]
347+
},
348+
"DeleteQuantumReservation": {
349+
"methods": [
350+
"delete_quantum_reservation"
351+
]
352+
},
353+
"GetQuantumCalibration": {
354+
"methods": [
355+
"get_quantum_calibration"
356+
]
357+
},
358+
"GetQuantumJob": {
359+
"methods": [
360+
"get_quantum_job"
361+
]
362+
},
363+
"GetQuantumProcessor": {
364+
"methods": [
365+
"get_quantum_processor"
366+
]
367+
},
368+
"GetQuantumProcessorConfig": {
369+
"methods": [
370+
"get_quantum_processor_config"
371+
]
372+
},
213373
"GetQuantumProgram": {
214374
"methods": [
215375
"get_quantum_program"
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# -*- coding: utf-8 -*-
2+
# Copyright 2025 Google LLC
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
#
16+
__version__ = "0.0.0" # {x-release-please-version}

cirq-google/cirq_google/cloud/quantum_v1alpha1/services/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- coding: utf-8 -*-
2-
# Copyright 2022 Google LLC
2+
# Copyright 2025 Google LLC
33
#
44
# Licensed under the Apache License, Version 2.0 (the "License");
55
# you may not use this file except in compliance with the License.

cirq-google/cirq_google/cloud/quantum_v1alpha1/services/quantum_engine_service/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- coding: utf-8 -*-
2-
# Copyright 2022 Google LLC
2+
# Copyright 2025 Google LLC
33
#
44
# Licensed under the Apache License, Version 2.0 (the "License");
55
# you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)