aws-sdk-braket 1.61.0 → 1.62.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-braket/client.rb +9 -1
- data/lib/aws-sdk-braket/client_api.rb +10 -0
- data/lib/aws-sdk-braket/types.rb +39 -4
- data/lib/aws-sdk-braket.rb +1 -1
- data/sig/client.rbs +5 -1
- data/sig/types.rbs +13 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a5a3f134b0fdf7de81dcd98cf0457549cc83273053b242980125c068bee674ea
|
|
4
|
+
data.tar.gz: ec88edc2edfae2f425dad5f7eb5f7d47ba0918ebbf3e2dfc307263a6ecb633d1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 35874e1c813735ee628e80ce7bf427956bb0c643e0fee038b00677b43421f28ade2f8a1b72c25342850fe31d4c5789a0a94e12b2c14a24b83360b735e0495168
|
|
7
|
+
data.tar.gz: b9bb5d5ff90ddfff6098b6453974c5dcb5610a483b1ae6e8c84c7a7f2a22fc68d940dcb099b61d962a2b3fcccaff226f88d9d26a1ed00906feb1f5a4b846564b
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.62.0 (2025-11-10)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Adds ExperimentalCapabilities field to CreateQuantumTask request and GetQuantumTask response objects. Enables use of experimental software capabilities when creating quantum tasks.
|
|
8
|
+
|
|
4
9
|
1.61.0 (2025-10-27)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.62.0
|
|
@@ -730,6 +730,9 @@ module Aws::Braket
|
|
|
730
730
|
# @option params [Array<Types::Association>] :associations
|
|
731
731
|
# The list of Amazon Braket resources associated with the quantum task.
|
|
732
732
|
#
|
|
733
|
+
# @option params [Types::ExperimentalCapabilities] :experimental_capabilities
|
|
734
|
+
# Enable experimental capabilities for the quantum task.
|
|
735
|
+
#
|
|
733
736
|
# @return [Types::CreateQuantumTaskResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
734
737
|
#
|
|
735
738
|
# * {Types::CreateQuantumTaskResponse#quantum_task_arn #quantum_task_arn} => String
|
|
@@ -754,6 +757,9 @@ module Aws::Braket
|
|
|
754
757
|
# type: "RESERVATION_TIME_WINDOW_ARN", # required, accepts RESERVATION_TIME_WINDOW_ARN
|
|
755
758
|
# },
|
|
756
759
|
# ],
|
|
760
|
+
# experimental_capabilities: {
|
|
761
|
+
# enabled: "ALL", # accepts ALL, NONE
|
|
762
|
+
# },
|
|
757
763
|
# })
|
|
758
764
|
#
|
|
759
765
|
# @example Response structure
|
|
@@ -943,6 +949,7 @@ module Aws::Braket
|
|
|
943
949
|
# * {Types::GetQuantumTaskResponse#associations #associations} => Array<Types::Association>
|
|
944
950
|
# * {Types::GetQuantumTaskResponse#num_successful_shots #num_successful_shots} => Integer
|
|
945
951
|
# * {Types::GetQuantumTaskResponse#action_metadata #action_metadata} => Types::ActionMetadata
|
|
952
|
+
# * {Types::GetQuantumTaskResponse#experimental_capabilities #experimental_capabilities} => Types::ExperimentalCapabilities
|
|
946
953
|
#
|
|
947
954
|
# @example Request syntax with placeholder values
|
|
948
955
|
#
|
|
@@ -977,6 +984,7 @@ module Aws::Braket
|
|
|
977
984
|
# resp.action_metadata.action_type #=> String
|
|
978
985
|
# resp.action_metadata.program_count #=> Integer
|
|
979
986
|
# resp.action_metadata.executable_count #=> Integer
|
|
987
|
+
# resp.experimental_capabilities.enabled #=> String, one of "ALL", "NONE"
|
|
980
988
|
#
|
|
981
989
|
# @see http://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/GetQuantumTask AWS API Documentation
|
|
982
990
|
#
|
|
@@ -1262,7 +1270,7 @@ module Aws::Braket
|
|
|
1262
1270
|
tracer: tracer
|
|
1263
1271
|
)
|
|
1264
1272
|
context[:gem_name] = 'aws-sdk-braket'
|
|
1265
|
-
context[:gem_version] = '1.
|
|
1273
|
+
context[:gem_version] = '1.62.0'
|
|
1266
1274
|
Seahorse::Client::Request.new(handlers, context)
|
|
1267
1275
|
end
|
|
1268
1276
|
|
|
@@ -52,6 +52,8 @@ module Aws::Braket
|
|
|
52
52
|
DeviceSummary = Shapes::StructureShape.new(name: 'DeviceSummary')
|
|
53
53
|
DeviceSummaryList = Shapes::ListShape.new(name: 'DeviceSummaryList')
|
|
54
54
|
DeviceType = Shapes::StringShape.new(name: 'DeviceType')
|
|
55
|
+
ExperimentalCapabilities = Shapes::UnionShape.new(name: 'ExperimentalCapabilities')
|
|
56
|
+
ExperimentalCapabilitiesEnablementType = Shapes::StringShape.new(name: 'ExperimentalCapabilitiesEnablementType')
|
|
55
57
|
GetDeviceRequest = Shapes::StructureShape.new(name: 'GetDeviceRequest')
|
|
56
58
|
GetDeviceResponse = Shapes::StructureShape.new(name: 'GetDeviceResponse')
|
|
57
59
|
GetJobRequest = Shapes::StructureShape.new(name: 'GetJobRequest')
|
|
@@ -218,6 +220,7 @@ module Aws::Braket
|
|
|
218
220
|
CreateQuantumTaskRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "tags"))
|
|
219
221
|
CreateQuantumTaskRequest.add_member(:job_token, Shapes::ShapeRef.new(shape: JobToken, location_name: "jobToken"))
|
|
220
222
|
CreateQuantumTaskRequest.add_member(:associations, Shapes::ShapeRef.new(shape: CreateQuantumTaskRequestAssociationsList, location_name: "associations"))
|
|
223
|
+
CreateQuantumTaskRequest.add_member(:experimental_capabilities, Shapes::ShapeRef.new(shape: ExperimentalCapabilities, location_name: "experimentalCapabilities"))
|
|
221
224
|
CreateQuantumTaskRequest.struct_class = Types::CreateQuantumTaskRequest
|
|
222
225
|
|
|
223
226
|
CreateQuantumTaskRequestAssociationsList.member = Shapes::ShapeRef.new(shape: Association)
|
|
@@ -253,6 +256,12 @@ module Aws::Braket
|
|
|
253
256
|
|
|
254
257
|
DeviceSummaryList.member = Shapes::ShapeRef.new(shape: DeviceSummary)
|
|
255
258
|
|
|
259
|
+
ExperimentalCapabilities.add_member(:enabled, Shapes::ShapeRef.new(shape: ExperimentalCapabilitiesEnablementType, location_name: "enabled"))
|
|
260
|
+
ExperimentalCapabilities.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
261
|
+
ExperimentalCapabilities.add_member_subclass(:enabled, Types::ExperimentalCapabilities::Enabled)
|
|
262
|
+
ExperimentalCapabilities.add_member_subclass(:unknown, Types::ExperimentalCapabilities::Unknown)
|
|
263
|
+
ExperimentalCapabilities.struct_class = Types::ExperimentalCapabilities
|
|
264
|
+
|
|
256
265
|
GetDeviceRequest.add_member(:device_arn, Shapes::ShapeRef.new(shape: DeviceArn, required: true, location: "uri", location_name: "deviceArn"))
|
|
257
266
|
GetDeviceRequest.struct_class = Types::GetDeviceRequest
|
|
258
267
|
|
|
@@ -312,6 +321,7 @@ module Aws::Braket
|
|
|
312
321
|
GetQuantumTaskResponse.add_member(:associations, Shapes::ShapeRef.new(shape: Associations, location_name: "associations"))
|
|
313
322
|
GetQuantumTaskResponse.add_member(:num_successful_shots, Shapes::ShapeRef.new(shape: Long, location_name: "numSuccessfulShots"))
|
|
314
323
|
GetQuantumTaskResponse.add_member(:action_metadata, Shapes::ShapeRef.new(shape: ActionMetadata, location_name: "actionMetadata"))
|
|
324
|
+
GetQuantumTaskResponse.add_member(:experimental_capabilities, Shapes::ShapeRef.new(shape: ExperimentalCapabilities, location_name: "experimentalCapabilities"))
|
|
315
325
|
GetQuantumTaskResponse.struct_class = Types::GetQuantumTaskResponse
|
|
316
326
|
|
|
317
327
|
HybridJobAdditionalAttributeNamesList.member = Shapes::ShapeRef.new(shape: HybridJobAdditionalAttributeName)
|
data/lib/aws-sdk-braket/types.rb
CHANGED
|
@@ -32,12 +32,12 @@ module Aws::Braket
|
|
|
32
32
|
#
|
|
33
33
|
# @!attribute [rw] program_count
|
|
34
34
|
# The number of programs in a program set. This is only available for
|
|
35
|
-
# a
|
|
35
|
+
# a program set.
|
|
36
36
|
# @return [Integer]
|
|
37
37
|
#
|
|
38
38
|
# @!attribute [rw] executable_count
|
|
39
39
|
# The number of executables in a program set. This is only available
|
|
40
|
-
# for a
|
|
40
|
+
# for a program set.
|
|
41
41
|
# @return [Integer]
|
|
42
42
|
#
|
|
43
43
|
# @see http://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/ActionMetadata AWS API Documentation
|
|
@@ -339,6 +339,10 @@ module Aws::Braket
|
|
|
339
339
|
# task.
|
|
340
340
|
# @return [Array<Types::Association>]
|
|
341
341
|
#
|
|
342
|
+
# @!attribute [rw] experimental_capabilities
|
|
343
|
+
# Enable experimental capabilities for the quantum task.
|
|
344
|
+
# @return [Types::ExperimentalCapabilities]
|
|
345
|
+
#
|
|
342
346
|
# @see http://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/CreateQuantumTaskRequest AWS API Documentation
|
|
343
347
|
#
|
|
344
348
|
class CreateQuantumTaskRequest < Struct.new(
|
|
@@ -351,7 +355,8 @@ module Aws::Braket
|
|
|
351
355
|
:action,
|
|
352
356
|
:tags,
|
|
353
357
|
:job_token,
|
|
354
|
-
:associations
|
|
358
|
+
:associations,
|
|
359
|
+
:experimental_capabilities)
|
|
355
360
|
SENSITIVE = []
|
|
356
361
|
include Aws::Structure
|
|
357
362
|
end
|
|
@@ -486,6 +491,31 @@ module Aws::Braket
|
|
|
486
491
|
include Aws::Structure
|
|
487
492
|
end
|
|
488
493
|
|
|
494
|
+
# Enabled experimental capabilities for quantum hardware. Note that the
|
|
495
|
+
# use of these features may impact device capabilities and performance
|
|
496
|
+
# beyond its standard specifications.
|
|
497
|
+
#
|
|
498
|
+
# @note ExperimentalCapabilities is a union - when making an API calls you must set exactly one of the members.
|
|
499
|
+
#
|
|
500
|
+
# @note ExperimentalCapabilities is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of ExperimentalCapabilities corresponding to the set member.
|
|
501
|
+
#
|
|
502
|
+
# @!attribute [rw] enabled
|
|
503
|
+
# Enabled experimental capabilities.
|
|
504
|
+
# @return [String]
|
|
505
|
+
#
|
|
506
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/ExperimentalCapabilities AWS API Documentation
|
|
507
|
+
#
|
|
508
|
+
class ExperimentalCapabilities < Struct.new(
|
|
509
|
+
:enabled,
|
|
510
|
+
:unknown)
|
|
511
|
+
SENSITIVE = []
|
|
512
|
+
include Aws::Structure
|
|
513
|
+
include Aws::Structure::Union
|
|
514
|
+
|
|
515
|
+
class Enabled < ExperimentalCapabilities; end
|
|
516
|
+
class Unknown < ExperimentalCapabilities; end
|
|
517
|
+
end
|
|
518
|
+
|
|
489
519
|
# @!attribute [rw] device_arn
|
|
490
520
|
# The ARN of the device to retrieve.
|
|
491
521
|
# @return [String]
|
|
@@ -777,6 +807,10 @@ module Aws::Braket
|
|
|
777
807
|
# information about the type of action and program counts.
|
|
778
808
|
# @return [Types::ActionMetadata]
|
|
779
809
|
#
|
|
810
|
+
# @!attribute [rw] experimental_capabilities
|
|
811
|
+
# Enabled experimental capabilities for the quantum task, if any.
|
|
812
|
+
# @return [Types::ExperimentalCapabilities]
|
|
813
|
+
#
|
|
780
814
|
# @see http://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/GetQuantumTaskResponse AWS API Documentation
|
|
781
815
|
#
|
|
782
816
|
class GetQuantumTaskResponse < Struct.new(
|
|
@@ -795,7 +829,8 @@ module Aws::Braket
|
|
|
795
829
|
:queue_info,
|
|
796
830
|
:associations,
|
|
797
831
|
:num_successful_shots,
|
|
798
|
-
:action_metadata
|
|
832
|
+
:action_metadata,
|
|
833
|
+
:experimental_capabilities)
|
|
799
834
|
SENSITIVE = []
|
|
800
835
|
include Aws::Structure
|
|
801
836
|
end
|
data/lib/aws-sdk-braket.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -181,7 +181,10 @@ module Aws
|
|
|
181
181
|
arn: ::String,
|
|
182
182
|
type: ("RESERVATION_TIME_WINDOW_ARN")
|
|
183
183
|
},
|
|
184
|
-
]
|
|
184
|
+
],
|
|
185
|
+
?experimental_capabilities: {
|
|
186
|
+
enabled: ("ALL" | "NONE")?
|
|
187
|
+
}
|
|
185
188
|
) -> _CreateQuantumTaskResponseSuccess
|
|
186
189
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateQuantumTaskResponseSuccess
|
|
187
190
|
|
|
@@ -250,6 +253,7 @@ module Aws
|
|
|
250
253
|
def associations: () -> ::Array[Types::Association]
|
|
251
254
|
def num_successful_shots: () -> ::Integer
|
|
252
255
|
def action_metadata: () -> Types::ActionMetadata
|
|
256
|
+
def experimental_capabilities: () -> Types::ExperimentalCapabilities
|
|
253
257
|
end
|
|
254
258
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Braket/Client.html#get_quantum_task-instance_method
|
|
255
259
|
def get_quantum_task: (
|
data/sig/types.rbs
CHANGED
|
@@ -98,6 +98,7 @@ module Aws::Braket
|
|
|
98
98
|
attr_accessor tags: ::Hash[::String, ::String]
|
|
99
99
|
attr_accessor job_token: ::String
|
|
100
100
|
attr_accessor associations: ::Array[Types::Association]
|
|
101
|
+
attr_accessor experimental_capabilities: Types::ExperimentalCapabilities
|
|
101
102
|
SENSITIVE: []
|
|
102
103
|
end
|
|
103
104
|
|
|
@@ -142,6 +143,17 @@ module Aws::Braket
|
|
|
142
143
|
SENSITIVE: []
|
|
143
144
|
end
|
|
144
145
|
|
|
146
|
+
class ExperimentalCapabilities
|
|
147
|
+
attr_accessor enabled: ("ALL" | "NONE")
|
|
148
|
+
attr_accessor unknown: untyped
|
|
149
|
+
SENSITIVE: []
|
|
150
|
+
|
|
151
|
+
class Enabled < ExperimentalCapabilities
|
|
152
|
+
end
|
|
153
|
+
class Unknown < ExperimentalCapabilities
|
|
154
|
+
end
|
|
155
|
+
end
|
|
156
|
+
|
|
145
157
|
class GetDeviceRequest
|
|
146
158
|
attr_accessor device_arn: ::String
|
|
147
159
|
SENSITIVE: []
|
|
@@ -212,6 +224,7 @@ module Aws::Braket
|
|
|
212
224
|
attr_accessor associations: ::Array[Types::Association]
|
|
213
225
|
attr_accessor num_successful_shots: ::Integer
|
|
214
226
|
attr_accessor action_metadata: Types::ActionMetadata
|
|
227
|
+
attr_accessor experimental_capabilities: Types::ExperimentalCapabilities
|
|
215
228
|
SENSITIVE: []
|
|
216
229
|
end
|
|
217
230
|
|