From a7348c681bc97e10c14edf69196f06b8d010e8d4 Mon Sep 17 00:00:00 2001 From: Jeff Heckey Date: Mon, 18 Nov 2024 12:55:34 -0800 Subject: [PATCH 1/6] fix: Pin cloudpickle==2.2.1 (#1044) --- setup.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 18bc591e1..2e1afe1c7 100644 --- a/setup.py +++ b/setup.py @@ -33,7 +33,9 @@ "backoff", "boltons", "boto3>=1.28.53", - "cloudpickle>=3", + # SageMaker pinned cloudpickle==2.2.1 + # see https://github.com/aws/sagemaker-python-sdk/issues/4871 + "cloudpickle==2.2.1", "nest-asyncio", "networkx", "numpy", From 0644b0a9e79d0d13eb8bb6aff5be4a18216b529d Mon Sep 17 00:00:00 2001 From: ci Date: Mon, 18 Nov 2024 21:13:46 +0000 Subject: [PATCH 2/6] prepare release v1.88.2 --- CHANGELOG.md | 6 ++++++ src/braket/_sdk/_version.py | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 34565b899..7f7e8e7db 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## v1.88.2 (2024-11-18) + +### Bug Fixes and Other Changes + + * Pin cloudpickle==2.2.1 + ## v1.88.1 (2024-10-21) ### Bug Fixes and Other Changes diff --git a/src/braket/_sdk/_version.py b/src/braket/_sdk/_version.py index 86ce67991..987a33464 100644 --- a/src/braket/_sdk/_version.py +++ b/src/braket/_sdk/_version.py @@ -15,4 +15,4 @@ Version number (major.minor.patch[-label]) """ -__version__ = "1.88.2.dev0" +__version__ = "1.88.2" From e6775d54f45917c8b28919cbea84bf2c50b103c8 Mon Sep 17 00:00:00 2001 From: ci Date: Mon, 18 Nov 2024 21:13:46 +0000 Subject: [PATCH 3/6] update development version to v1.88.3.dev0 --- src/braket/_sdk/_version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/braket/_sdk/_version.py b/src/braket/_sdk/_version.py index 987a33464..3a2292d9b 100644 --- a/src/braket/_sdk/_version.py +++ b/src/braket/_sdk/_version.py @@ -15,4 +15,4 @@ Version number (major.minor.patch[-label]) """ -__version__ = "1.88.2" +__version__ = "1.88.3.dev0" From 5cb4a31759f13cd724610b7fd8e156086577db14 Mon Sep 17 00:00:00 2001 From: Abe Coull <85974725+AbeCoull@users.noreply.github.com> Date: Thu, 21 Nov 2024 09:25:16 -0800 Subject: [PATCH 4/6] doc: add dual navigation buttons and cleanup some docstrings (#758) --- doc/conf.py | 7 ++++++- src/braket/circuits/circuit.py | 6 +++--- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/doc/conf.py b/doc/conf.py index 8a16ca231..b5eae7acc 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -19,18 +19,23 @@ ] source_suffix = ".rst" -master_doc = "index" +root_doc = "index" autoclass_content = "both" autodoc_member_order = "bysource" default_role = "py:obj" html_theme = "sphinx_rtd_theme" +html_theme_options = { + "prev_next_buttons_location": "both", +} htmlhelp_basename = f"{project}doc" language = "en" napoleon_use_rtype = False +napoleon_google_docstring = True +napoleon_numpy_docstring = False apidoc_module_dir = "../src/braket" apidoc_output_dir = "_apidoc" diff --git a/src/braket/circuits/circuit.py b/src/braket/circuits/circuit.py index 02d419cff..e3181a603 100644 --- a/src/braket/circuits/circuit.py +++ b/src/braket/circuits/circuit.py @@ -1537,9 +1537,9 @@ def to_unitary(self) -> np.ndarray: `qubit count` > 10. Returns: - np.ndarray: A numpy array with shape (2^qubit_count, 2^qubit_count) representing the - circuit as a unitary. For an empty circuit, an empty numpy array is returned - (`array([], dtype=complex)`) + np.ndarray: A numpy array with shape (2 :sup:`qubit_count`, 2 :sup:`qubit_count`) + representing the circuit as a unitary. For an empty circuit, an empty numpy array + is returned (`array([], dtype=complex)`) Raises: TypeError: If circuit is not composed only of `Gate` instances, From cfe02145a2a88b9433bda4588eeb98897ef4fc93 Mon Sep 17 00:00:00 2001 From: ci Date: Mon, 25 Nov 2024 16:14:20 +0000 Subject: [PATCH 5/6] prepare release v1.88.2.post0 --- CHANGELOG.md | 6 ++++++ src/braket/_sdk/_version.py | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7f7e8e7db..78fe9797d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## v1.88.2.post0 (2024-11-25) + +### Documentation Changes + + * add dual navigation buttons and cleanup some docstrings + ## v1.88.2 (2024-11-18) ### Bug Fixes and Other Changes diff --git a/src/braket/_sdk/_version.py b/src/braket/_sdk/_version.py index 3a2292d9b..997180b39 100644 --- a/src/braket/_sdk/_version.py +++ b/src/braket/_sdk/_version.py @@ -15,4 +15,4 @@ Version number (major.minor.patch[-label]) """ -__version__ = "1.88.3.dev0" +__version__ = "1.88.2.post0" From b378184d99350c9447377b8fab3410fe062aba91 Mon Sep 17 00:00:00 2001 From: ci Date: Mon, 25 Nov 2024 16:14:20 +0000 Subject: [PATCH 6/6] update development version to v1.88.3.dev0 --- src/braket/_sdk/_version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/braket/_sdk/_version.py b/src/braket/_sdk/_version.py index 997180b39..3a2292d9b 100644 --- a/src/braket/_sdk/_version.py +++ b/src/braket/_sdk/_version.py @@ -15,4 +15,4 @@ Version number (major.minor.patch[-label]) """ -__version__ = "1.88.2.post0" +__version__ = "1.88.3.dev0"