amazon-braket / amazon-braket-examples

Example notebooks that show how to apply quantum computing with Amazon Braket.
https://aws.amazon.com/braket/
Apache License 2.0
475 stars 226 forks source link

infra: bump the dev-dependencies group across 1 directory with 14 updates #618

Closed dependabot[bot] closed 1 month ago

dependabot[bot] commented 2 months ago

Updates the requirements on botocore, awscli, boto3, amazon-braket-sdk, jax, jaxlib, numpy, optax, pennylane, pennylane-lightning, qiskit-aer, scipy, scs and sympy to permit the latest version. Updates botocore from 1.35.0 to 1.35.10

Changelog

Sourced from botocore's changelog.

1.35.10

  • api-change:backup: The latest update introduces two new attributes, VaultType and VaultState, to the DescribeBackupVault and ListBackupVaults APIs. The VaultState attribute reflects the current status of the vault, while the VaultType attribute indicates the specific category of the vault.
  • api-change:datazone: Amazon DataZone now adds new governance capabilities of Domain Units for organization within your Data Domains, and Authorization Policies for tighter controls.
  • api-change:logs: This release introduces a new optional parameter: Entity, in PutLogEvents request
  • api-change:redshift-data: The release include the new Redshift DataAPI feature for session use, customer execute query with --session-keep-alive-seconds parameter and can submit follow-up queries to same sessions with returnedsession-id

1.35.9

  • api-change:bedrock-agent-runtime: Lifting the maximum length on Bedrock KnowledgeBase RetrievalFilter array
  • api-change:bedrock-runtime: Add support for imported-model in invokeModel and InvokeModelWithResponseStream.
  • api-change:personalize: This releases ability to update automatic training scheduler for customer solutions
  • api-change:quicksight: Increased Character Limit for Dataset Calculation Field expressions
  • api-change:stepfunctions: This release adds support for static analysis to ValidateStateMachineDefinition API, which can now return optional WARNING diagnostics for semantic errors on the definition of an Amazon States Language (ASL) state machine.
  • api-change:wafv2: The minimum request rate for a rate-based rule is now 10. Before this, it was 100.

1.35.8

  • api-change:appconfig: This release adds support for deletion protection, which is a safety guardrail to prevent the unintentional deletion of a recently used AWS AppConfig Configuration Profile or Environment. This also includes a change to increase the maximum length of the Name parameter in UpdateConfigurationProfile.
  • api-change:datazone: Update regex to include dot character to be consistent with IAM role creation in the authorized principal field for create and update subscription target.
  • api-change:devicefarm: This release removed support for Calabash, UI Automation, Built-in Explorer, remote access record, remote access replay, and web performance profile framework in ScheduleRun API.
  • api-change:ec2: Amazon VPC IP Address Manager (IPAM) now allows customers to provision IPv4 CIDR blocks and allocate Elastic IP Addresses directly from IPAM pools with public IPv4 space
  • api-change:internetmonitor: Adds new querying types to show overall traffic suggestion information for monitors
  • api-change:pcs: Introducing AWS Parallel Computing Service (AWS PCS), a new service makes it easy to setup and manage high performance computing (HPC) clusters, and build scientific and engineering models at virtually any scale on AWS.
  • api-change:workspaces: Documentation-only update that clarifies the StartWorkspaces and StopWorkspaces actions, and a few other minor edits.

1.35.7

  • api-change:bedrock: Amazon Bedrock SDK updates for Inference Profile.
  • api-change:bedrock-runtime: Amazon Bedrock SDK updates for Inference Profile.
  • api-change:chatbot: Update documentation to be consistent with the API docs
  • api-change:omics: Adds data provenance to import jobs from read sets and references
  • api-change:polly: Amazon Polly adds 2 new voices: Jitka (cs-CZ) and Sabrina (de-CH).

1.35.6

  • api-change:iotsitewise: AWS IoT SiteWise now supports versioning for asset models. It enables users to retrieve active version of their asset model and perform asset model writes with optimistic lock.
  • api-change:workspaces: This release adds support for creating and managing directories that use AWS IAM Identity Center as user identity source. Such directories can be used to create non-Active Directory domain joined WorkSpaces Personal.Updated RegisterWorkspaceDirectory and DescribeWorkspaceDirectories APIs.

1.35.5

... (truncated)

Commits
  • 6e846e8 Merge branch 'release-1.35.10'
  • 6cb9ba2 Bumping version to 1.35.10
  • 8c5e3e5 Update endpoints model
  • 5b5356f Update to latest models
  • 3428c19 Merge branch 'release-1.35.9' into develop
  • 606af07 Merge branch 'release-1.35.9'
  • 764d893 Bumping version to 1.35.9
  • 9a37f04 Update to latest models
  • c294152 Merge branch 'release-1.35.8' into develop
  • fbd8b1e Merge branch 'release-1.35.8'
  • Additional commits viewable in compare view


Updates awscli from 1.34.0 to 1.34.10

Commits
  • 765bffb Merge branch 'release-1.34.10'
  • 54510ff Bumping version to 1.34.10
  • 49747c5 Update changelog based on model updates
  • 55d5c19 Merge branch 'release-1.34.9'
  • d8f3912 Merge branch 'release-1.34.9' into develop
  • 4149108 Bumping version to 1.34.9
  • 7a3bb1a Update changelog based on model updates
  • 6f4d46c Merge branch 'release-1.34.8'
  • a2c094c Merge branch 'release-1.34.8' into develop
  • 34b0cca Bumping version to 1.34.8
  • Additional commits viewable in compare view


Updates boto3 from 1.35.0 to 1.35.10

Commits
  • 85cba10 Merge branch 'release-1.35.10'
  • 7264985 Bumping version to 1.35.10
  • 4e8bc10 Add changelog entries from botocore
  • 6f961e2 Merge branch 'release-1.35.9'
  • 25ebb36 Merge branch 'release-1.35.9' into develop
  • ed635b5 Bumping version to 1.35.9
  • 3a06379 Add changelog entries from botocore
  • 0733f58 Merge branch 'release-1.35.8'
  • 1cbfeec Merge branch 'release-1.35.8' into develop
  • 79f7f2c Bumping version to 1.35.8
  • Additional commits viewable in compare view


Updates amazon-braket-sdk from 1.86.0 to 1.86.1

Release notes

Sourced from amazon-braket-sdk's releases.

v1.86.1

Bug Fixes and Other Changes

  • Use observable targets for targetless results
Changelog

Sourced from amazon-braket-sdk's changelog.

v1.86.1 (2024-08-29)

Bug Fixes and Other Changes

  • Use observable targets for targetless results
Commits


Updates jax from 0.4.29 to 0.4.31

Changelog

Sourced from jax's changelog.

jax 0.4.31 (July 29, 2024)

  • Deletion

    • xmap has been deleted. Please use {func}shard_map as the replacement.
  • Changes

    • The minimum CuDNN version is v9.1. This was true in previous releases also, but we now declare this version constraint formally.
    • The minimum Python version is now 3.10. 3.10 will remain the minimum supported version until July 2025.
    • The minimum NumPy version is now 1.24. NumPy 1.24 will remain the minimum supported version until December 2024.
    • The minimum SciPy version is now 1.10. SciPy 1.10 will remain the minimum supported version until January 2025.
    • {func}jax.numpy.ceil, {func}jax.numpy.floor and {func}jax.numpy.trunc now return the output of the same dtype as the input, i.e. no longer upcast integer or boolean inputs to floating point.
    • libdevice.10.bc is no longer bundled with CUDA wheels. It must be installed either as a part of local CUDA installation, or via NVIDIA's CUDA pip wheels.
    • {class}jax.experimental.pallas.BlockSpec now expects block_shape to be passed before index_map. The old argument order is deprecated and will be removed in a future release.
    • Updated the repr of gpu devices to be more consistent with TPUs/CPUs. For example, cuda(id=0) will now be CudaDevice(id=0).
    • Added the device property and to_device method to {class}jax.Array, as part of JAX's Array API support.
  • Deprecations

    • Removed a number of previously-deprecated internal APIs related to polymorphic shapes. From {mod}jax.core: removed canonicalize_shape, dimension_as_value, definitely_equal, and symbolic_equal_dim.
    • HLO lowering rules should no longer wrap singleton ir.Values in tuples. Instead, return singleton ir.Values unwrapped. Support for wrapped values will be removed in a future version of JAX.
    • {func}jax.experimental.jax2tf.convert with native_serialization=False or enable_xla=False is now deprecated and this support will be removed in a future version. Native serialization has been the default since JAX 0.4.16 (September 2023).
    • The previously-deprecated function jax.random.shuffle has been removed; instead use jax.random.permutation with independent=True.

jaxlib 0.4.31 (July 29, 2024)

  • Bug fixes
    • Fixed a bug that meant that negative static_argnums to a jit were mishandled by the jit dispatch fast path.
    • Fixed a bug that meant triangular solves of batches of singular matrices produce nonsensical finite values, instead of inf or nan (#3589, #15429).

jax 0.4.30 (June 18, 2024)

... (truncated)

Commits
  • 7fd9302 Start JAX and jaxlib 0.4.31 release
  • f070c06 Merge pull request #22703 from Rifur13:plugin-fix
  • 9beb4f1 Merge pull request #19760 from Blair-Johnson:fix-pytree-grads-sparse
  • 802a14c Re-pack gradients of jax.experimental.sparse.grad() to match original pytrees...
  • 85e83b5 Merge pull request #22690 from jakevdp:inplace-doc
  • d1c0d99 Bump the minimum CUDNN version to v9.1.
  • 6127baa Ignore the Deprecation warning produced about native_serialization=False.
  • fd23b87 Bump minimum SciPy version to 1.10.
  • cfa1e78 Improve documentation for jnp.put, jnp.place, jnp.fill_diagonal
  • 0224235 Skip cuda backend initialization if no nvidia GPUs are visible.
  • Additional commits viewable in compare view


Updates jaxlib from 0.4.29 to 0.4.31

Changelog

Sourced from jaxlib's changelog.

jax 0.4.31 (July 29, 2024)

  • Deletion

    • xmap has been deleted. Please use {func}shard_map as the replacement.
  • Changes

    • The minimum CuDNN version is v9.1. This was true in previous releases also, but we now declare this version constraint formally.
    • The minimum Python version is now 3.10. 3.10 will remain the minimum supported version until July 2025.
    • The minimum NumPy version is now 1.24. NumPy 1.24 will remain the minimum supported version until December 2024.
    • The minimum SciPy version is now 1.10. SciPy 1.10 will remain the minimum supported version until January 2025.
    • {func}jax.numpy.ceil, {func}jax.numpy.floor and {func}jax.numpy.trunc now return the output of the same dtype as the input, i.e. no longer upcast integer or boolean inputs to floating point.
    • libdevice.10.bc is no longer bundled with CUDA wheels. It must be installed either as a part of local CUDA installation, or via NVIDIA's CUDA pip wheels.
    • {class}jax.experimental.pallas.BlockSpec now expects block_shape to be passed before index_map. The old argument order is deprecated and will be removed in a future release.
    • Updated the repr of gpu devices to be more consistent with TPUs/CPUs. For example, cuda(id=0) will now be CudaDevice(id=0).
    • Added the device property and to_device method to {class}jax.Array, as part of JAX's Array API support.
  • Deprecations

    • Removed a number of previously-deprecated internal APIs related to polymorphic shapes. From {mod}jax.core: removed canonicalize_shape, dimension_as_value, definitely_equal, and symbolic_equal_dim.
    • HLO lowering rules should no longer wrap singleton ir.Values in tuples. Instead, return singleton ir.Values unwrapped. Support for wrapped values will be removed in a future version of JAX.
    • {func}jax.experimental.jax2tf.convert with native_serialization=False or enable_xla=False is now deprecated and this support will be removed in a future version. Native serialization has been the default since JAX 0.4.16 (September 2023).
    • The previously-deprecated function jax.random.shuffle has been removed; instead use jax.random.permutation with independent=True.

jaxlib 0.4.31 (July 29, 2024)

  • Bug fixes
    • Fixed a bug that meant that negative static_argnums to a jit were mishandled by the jit dispatch fast path.
    • Fixed a bug that meant triangular solves of batches of singular matrices produce nonsensical finite values, instead of inf or nan (#3589, #15429).

jax 0.4.30 (June 18, 2024)

... (truncated)

Commits
  • 7fd9302 Start JAX and jaxlib 0.4.31 release
  • f070c06 Merge pull request #22703 from Rifur13:plugin-fix
  • 9beb4f1 Merge pull request #19760 from Blair-Johnson:fix-pytree-grads-sparse
  • 802a14c Re-pack gradients of jax.experimental.sparse.grad() to match original pytrees...
  • 85e83b5 Merge pull request #22690 from jakevdp:inplace-doc
  • d1c0d99 Bump the minimum CUDNN version to v9.1.
  • 6127baa Ignore the Deprecation warning produced about native_serialization=False.
  • fd23b87 Bump minimum SciPy version to 1.10.
  • cfa1e78 Improve documentation for jnp.put, jnp.place, jnp.fill_diagonal
  • 0224235 Skip cuda backend initialization if no nvidia GPUs are visible.
  • Additional commits viewable in compare view


Updates numpy from 1.26.4 to 2.1.0

Release notes

Sourced from numpy's releases.

2.1.0 (Aug 18, 2024)

NumPy 2.1.0 Release Notes

NumPy 2.1.0 provides support for the upcoming Python 3.13 release and drops support for Python 3.9. In addition to the usual bug fixes and updated Python support, it helps get us back into our usual release cycle after the extended development of 2.0. The highlights for this release are:

  • Support for the array-api 2023.12 standard.
  • Support for Python 3.13.
  • Preliminary support for free threaded Python 3.13.

Python versions 3.10-3.13 are supported in this release.

New functions

New function numpy.unstack

A new function np.unstack(array, axis=...) was added, which splits an array into a tuple of arrays along an axis. It serves as the inverse of [numpy.stack]{.title-ref}.

(gh-26579)

Deprecations

  • The fix_imports keyword argument in numpy.save is deprecated. Since NumPy 1.17, numpy.save uses a pickle protocol that no longer supports Python 2, and ignored fix_imports keyword. This keyword is kept only for backward compatibility. It is now deprecated.

    (gh-26452)

  • Passing non-integer inputs as the first argument of [bincount]{.title-ref} is now deprecated, because such inputs are silently cast to integers with no warning about loss of precision.

    (gh-27076)

Expired deprecations

  • Scalars and 0D arrays are disallowed for numpy.nonzero and numpy.ndarray.nonzero.

    (gh-26268)

  • set_string_function internal function was removed and PyArray_SetStringFunction was stubbed out.

... (truncated)

Commits
  • 2f7fe64 Merge pull request #27236 from charris/prepare-2.1.0
  • b6f434f REL: Prepare for the NumPy 2.1.0 release [wheel build]
  • 3cf9394 Merge pull request #27234 from charris/backport-25984
  • 7443dcc Merge pull request #27233 from charris/backport-27223
  • 85b1cab BUG: Allow fitting of degree zero polynomials with Polynomial.fit
  • 395a81d DOC: reword discussion about shared arrays to hopefully be clearer
  • 5af2e96 Move NUMUSERTYPES thread safety discussion to legacy DType API docs
  • d902c24 DOC: add docs on thread safety in NumPy
  • c080180 Merge pull request #27229 from charris/backport-27226
  • 44ce7e8 BUG: Fix PyArray_ZeroContiguousBuffer (resize) with struct dtypes
  • Additional commits viewable in compare view


Updates optax from 0.2.2 to 0.2.3

Release notes

Sourced from optax's releases.

Optax 0.2.3

What's Changed

... (truncated)

Commits
  • e90eecd Release v0.2.3
  • 8c46b75 Fix doctest normalize_by_update_norm
  • 5b55ccc Merge pull request #1000 from fabianp:SauravMaheshkar-saurav/scale_by_grad_norm
  • 648a967 Add schedule_free check for b1 != 0.
  • f72fbfc Add common schedule_free wrappers.
  • 2660a04 Merge branch 'saurav/scale_by_grad_norm' of https://github.com/SauravMaheshka...
  • 23b7703 LBFGS part 4: notebook illustrating how to use lbfgs with linesearch as a sol...
  • 10cf508 Add arxiv reference to schedule_free optimizer.
  • b849fc6 docs: update transformations API docs
  • 5c01f6f docs: update transformations
  • Additional commits viewable in compare view


Updates pennylane from 0.35.1 to 0.37.0

Release notes

Sourced from pennylane's releases.

Release 0.37.0

  • A new default.tensor device is now available for performing tensor network and matrix product state simulations of quantum circuits using the quimb backend. [(#5699)](PennyLaneAI/pennylane#5699) [(#5744)](PennyLaneAI/pennylane#5744) [(#5786)](PennyLaneAI/pennylane#5786) [(#5795)](PennyLaneAI/pennylane#5795)

    Either method can be selected when instantiating the default.tensor device by setting the method keyword argument to "tn" (tensor network) or "mps" (matrix product state).

    There are several templates in PennyLane that are tensor-network focused, which are excellent candidates for the "tn" method for default.tensor. The following example shows how a circuit comprising gates in a tree tensor network architecture can be efficiently simulated using method="tn".

    import pennylane as qml
    

    n_wires = 16 dev = qml.device("default.tensor", method="tn")

    def block(weights, wires): qml.CNOT(wires=[wires[0], wires[1]]) qml.RY(weights[0], wires=wires[0]) qml.RY(weights[1], wires=wires[1])

    n_block_wires = 2 n_params_block = 2 n_blocks = qml.TTN.get_n_blocks(range(n_wires), n_block_wires) template_weights = [[0.1, -0.3]] * n_blocks

    @​qml.qnode(dev) def circuit(template_weights): for i in range(n_wires): qml.Hadamard(i) qml.TTN(range(n_wires), n_block_wires, block, n_params_block, template_weights) return qml.expval(qml.Z(n_wires - 1))

    >>> circuit(template_weights)
    0.3839174759751649
    

    For matrix product state simulations (method="mps"), we can make the execution be approximate by setting max_bond_dim (see the device's documentation for more details). The maximum bond dimension has implications for the speed of the simulation and lets us control the degree of the approximation, as shown in the following example. First, set up the circuit:

    import numpy as np
    

    n_layers = 10 n_wires = 10 initial_shape, weights_shape = qml.SimplifiedTwoDesign.shape(n_layers, n_wires) np.random.seed(1967)

... (truncated)

Commits


Updates pennylane-lightning from 0.35.1 to 0.37.0

Release notes

Sourced from pennylane-lightning's releases.

Release 0.37.0

New features since last release

Breaking changes

Improvements

... (truncated)

Commits
  • 4ba2434 Forked as v0.37.0_release to be released with tag v0.37.0.
  • 240b7ed Fix lint LGPU.
  • 8385da6 trigger ci
  • 7b48d4e Update macOS-12
  • 67ac395 Revert upload-pypi triggers and build all wheels with ci:build_wheels tag.
  • 8de77e9 trigger ci
  • 70b9a84 trigger ci
  • 8cc6b97 Added pickle support for lightning.gpu device's DevPool attribute (#772)
  • d1299fd Merge branch 'master' into v0.37.0_rc
  • 84b5da5 Added pickle support for lightning.gpu device's DevPool attribute (#772)
  • Additional commits viewable in compare view


Updates qiskit-aer from 0.14.2 to 0.15.0

Release notes

Sourced from qiskit-aer's releases.

Release 0.15

Aer 0.15 is released to support Qiskit 1.2. As Qiskit 1.2 deprecates V1 backends and primitives, Aer also deprecates these functionalities. Also Aer 0.15 removed standalone simulator and qobj support.

What's Changed