Skip to content
This repository was archived by the owner on Jun 26, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.9
python-version: '3.x'
- name: Install dependencies
run: |
pip install -e .[test] # to put juliapkg.json in sys.path
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.9'
python-version: '3.x'
- name: Install dependencies
run: |
pip install tox
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
max-parallel: 2
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.9", "3.10", "3.11"]
python-version: ["3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v5
- name: Install juliaup
Expand Down
4 changes: 2 additions & 2 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ formats:

# setting up build os and python version
build:
os: ubuntu-22.04
os: ubuntu-lts-latest
tools:
python: "3.9"
python: latest

# Optionally set the version of Python and requirements required to build your docs
python:
Expand Down
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,17 @@ name = "amazon-braket-simulator-v2"
description = "Local simulation of quantum circuits"
readme = {file = "README.md", content-type = "text/markdown"}
license = {file = "LICENSE"}
requires-python = ">=3.9"
requires-python = ">=3.10"
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Natural Language :: English",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Operating System :: OS Independent"
]
dynamic = ["version", "dependencies", "optional-dependencies"]
Expand Down
8 changes: 4 additions & 4 deletions requirements-test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ flake8-rst-docstrings
isort
pre-commit
pylint
pytest==7.1.2
pytest
pytest-benchmark
pytest-cov
pytest-rerunfailures
pytest-timeout
pytest-xdist
qiskit==1.4.2
qiskit-braket-provider==0.4.3
qiskit-algorithms
qiskit==1.4.3
qiskit-braket-provider==0.6.0
qiskit-algorithms==0.3.1
sphinx
sphinx-rtd-theme
sphinxcontrib-apidoc
Expand Down
6 changes: 3 additions & 3 deletions src/braket/simulator_v2/base_simulator_v2.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def _handle_mmaped_result(raw_result, mmap_paths, obj_lengths):

class BaseLocalSimulatorV2(BaseLocalSimulator):
def __init__(self, device: str):
global __JULIA_POOL__
global __JULIA_POOL__ # noqa: F824
# if the pool is already set up, no need
# to do anything
if __JULIA_POOL__ is None:
Expand Down Expand Up @@ -167,7 +167,7 @@ def run_openqasm(
as a result type when shots=0. Or, if StateVector and Amplitude result types
are requested when shots>0.
"""
global __JULIA_POOL__
global __JULIA_POOL__ # noqa: F824

# pass inputs and source as strings to avoid pickling a dict
inputs_dict = json.dumps(openqasm_ir.inputs) if openqasm_ir.inputs else "{}"
Expand Down Expand Up @@ -210,7 +210,7 @@ def run_multiple(
list[GateModelTaskResult]: A list of result objects, with the ith object being
the result of the ith program.
"""
global __JULIA_POOL__
global __JULIA_POOL__ # noqa: F824
try:
jl_results = __JULIA_POOL__.apply(
translate_and_run_multiple,
Expand Down
Loading