diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 3a23f44..3f7b6e3 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -22,7 +22,7 @@ jobs: # Run jobs for a couple of Python versions. strategy: matrix: - python: ["3.8", "3.9", "3.10"] + python: ["3.9", "3.10", "3.11"] name: TestCoverage - Python ${{ matrix.python }} diff --git a/.github/workflows/style.yml b/.github/workflows/style.yml index 2efed66..babe732 100644 --- a/.github/workflows/style.yml +++ b/.github/workflows/style.yml @@ -22,7 +22,7 @@ jobs: # Run jobs for a couple of Python versions. strategy: matrix: - python: ["3.8", "3.9", "3.10"] + python: ["3.9", "3.10", "3.11"] name: Style - Python ${{ matrix.python }} diff --git a/setup.cfg b/setup.cfg index bb47b87..84cf753 100644 --- a/setup.cfg +++ b/setup.cfg @@ -21,7 +21,7 @@ include_package_data = True package_dir = = src packages = find_namespace: -python_requires = >=3.8,!=3.9.7,<3.11 +python_requires = >=3.9,!=3.9.7 install_requires = numpy>=1.20 diff --git a/src/orquestra/integrations/qulacs/conversions.py b/src/orquestra/integrations/qulacs/conversions.py index 931a14d..0c3e4c5 100644 --- a/src/orquestra/integrations/qulacs/conversions.py +++ b/src/orquestra/integrations/qulacs/conversions.py @@ -32,7 +32,7 @@ def _factory(*args): return _factory -QULACS_GATE_FACTORY = Callable[[Any], qulacs.QuantumGateBase] +QULACS_GATE_FACTORY = Callable[..., qulacs.QuantumGateBase] ORQUESTRA_TO_QULACS_GATES: Dict[str, Tuple[QULACS_GATE_FACTORY, Callable]] = { # 1-qubit, non-parametric