Skip to content

Releases: amazon-braket/amazon-braket-sdk-python

v1.1.1.post0

09 Sep 23:37
Compare
Choose a tag to compare

Testing and Release Infrastructure

  • Add CHANGELOG.md

v1.1.1

09 Sep 18:55
842d761
Compare
Choose a tag to compare

Bug Fixes

  • add handling for solution_counts=[] for annealing result

v1.1.0

08 Sep 21:28
ceb036e
Compare
Choose a tag to compare

Features

  • Add get_devices to search devices based on criteria

Bug Fixes

  • Call async_result() before calling result()
  • Convert amplitude result to a complex number

v1.0.0.post1

14 Aug 01:49
488607a
Compare
Choose a tag to compare
documentation: add readthedocs link to README (#142)

v1.0.0

13 Aug 16:00
c4a5c10
Compare
Choose a tag to compare

This is the public release of the Amazon Braket Python SDK!

The Amazon Braket Python SDK is an open source library that provides a framework that you can use to interact with quantum computing devices through Amazon Braket.

v0.6.0

11 Aug 21:27
53ba422
Compare
Choose a tag to compare

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

01 Aug 00:53
e7df731
Compare
Choose a tag to compare

Features

  • Migration to V4 API
  • Addition of AwsDevice class, which will be used for both QPUs and simulators. AwsQpu and AwsQuantumSimulator will be deprecated
  • Deprecation of AwsQpuArns and AwsQuantumSimulatorArns
  • Modifications per repository renamings
  • main is now going to be the default branch with stable changes

v0.4.2

16 Jun 00:37
de10b49
Compare
Choose a tag to compare

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

08 Jun 23:24
29bac7f
Compare
Choose a tag to compare

Features

  • Add supportedResultTypes to device.properties for AwsQuantumSimulator

Bug Fixes

  • For the case of tensor product observables, fix basis_rotation_instructions call on Circuit so that it does not mutate the targets of the observables
  • More exception handling for bucket creation in integ tests

v0.4.0

05 Jun 23:26
eedb3bf
Compare
Choose a tag to compare

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, and measurement_probabilitiesare not returned in the task result when shots=0
  • Ability to check version in Python
  • Increased default polling timeout for AWS devices to 5 days
  • Added topology_graph as an attribute of AwsQpu that returns the topology of the QPU as a networkx graph

Breaking Changes

  • When using AwsQuantumSimulator and LocalSimulator, shots is by default 0
  • As part of new result types feature, .state_vector of a GateModelQuantumTaskResult is only returned when state vector is requested as a result type and shots=0
  • Corrected Ising coupling gate matrix definitions using reference https://arxiv.org/abs/1707.06356.
  • BraketSimulator has been moved to amazon-braket-default-simulator-python

Documentation Changes

  • API documentation for new result types feature
  • Updates to README and example scripts in /examples folder