Releases: amazon-braket/amazon-braket-sdk-python
Releases · amazon-braket/amazon-braket-sdk-python
v1.1.1.post0
Testing and Release Infrastructure
- Add CHANGELOG.md
v1.1.1
Bug Fixes
- add handling for solution_counts=[] for annealing result
v1.1.0
v1.0.0.post1
documentation: add readthedocs link to README (#142)
v1.0.0
v0.6.0
Breaking Changes
- AwsDevice.properties is of type DeviceCapabilities
- LocalSimulator.properties is of type DeviceCapabilities
- AwsQpu and AwsQuantumSimulator have been removed
- Device parameters in device.run has been migrated to new format for the CreateQuantumTask API
v0.5.0
Features
- Migration to V4 API
- Addition of
AwsDevice
class, which will be used for both QPUs and simulators.AwsQpu
andAwsQuantumSimulator
will be deprecated - Deprecation of
AwsQpuArns
andAwsQuantumSimulatorArns
- Modifications per repository renamings
main
is now going to be the default branch with stable changes
v0.4.2
Bug Fixes
- Add validation for compatible IR types for local simulator
- Add validation that requested states for the amplitude result type is a list
Documentation Changes
- Update IonQ execution windows in README
- Update amplitude states to be a list in examples/bell_result_types.py
v0.4.1
Features
- Add
supportedResultTypes
todevice.properties
forAwsQuantumSimulator
Bug Fixes
- For the case of tensor product observables, fix
basis_rotation_instructions
call onCircuit
so that it does not mutate the targets of the observables - More exception handling for bucket creation in integ tests
v0.4.0
Features
- Ability to support additional result types for gate model devices
- The following result types are supported:
- State vector
- Amplitude
- Probability
- Expectation
- Variance
- Sample
examples/bell_result_types.py
has example usage- When
shots>0
, users can request probability in the computational basis, sampling, expectation, variance, and sampling for the desired observable.- These values are calculated from measurements.
- When
shots=0
for simulators, users can request state vector and amplitude, as well as exact values for expectation, variance, and sampling for the desired observable.- Sample is not supported when
shots=0
measurements
,measurement_counts
, andmeasurement_probabilities
are not returned in the task result whenshots=0
- Sample is not supported when
- The following result types are supported:
- Ability to check version in Python
- Increased default polling timeout for AWS devices to 5 days
- Added
topology_graph
as an attribute ofAwsQpu
that returns the topology of the QPU as anetworkx
graph
Breaking Changes
- When using
AwsQuantumSimulator
andLocalSimulator
, shots is by default 0 - As part of new result types feature,
.state_vector
of aGateModelQuantumTaskResult
is only returned when state vector is requested as a result type andshots=0
- Corrected Ising coupling gate matrix definitions using reference https://arxiv.org/abs/1707.06356.
BraketSimulator
has been moved toamazon-braket-default-simulator-python
Documentation Changes
- API documentation for new result types feature
- Updates to README and example scripts in
/examples
folder