From 2478a5be203b9c10a0b7fb2316e5f41f4e4dcc1a Mon Sep 17 00:00:00 2001 From: Jun Doi Date: Thu, 26 Oct 2023 18:46:30 +0900 Subject: [PATCH] Release 0.13.0 (#1964) * rebuilt release 0.13.0 * fix release highlight --- .github/workflows/build.yml | 4 +- .github/workflows/deploy.yml | 195 ++++++++++-------- .github/workflows/docs.yml | 2 +- .github/workflows/tests.yml | 2 +- docs/tutorials/1_aer_provider.ipynb | 2 +- .../tutorials/2_device_noise_simulation.ipynb | 2 +- docs/tutorials/3_building_noise_models.ipynb | 2 +- docs/tutorials/5_noise_transformation.ipynb | 2 +- pyproject.toml | 2 +- qiskit_aer/backends/aerbackend.py | 2 +- .../add-rocm-support-db991e3c2f2ca455.yaml | 0 .../add_executor-a03f2d23cf6f4ca9.yaml | 0 .../add_executor-ba4870f86ed5d8ec.yaml | 0 ...-exposed-wrong-sx-op-dadae6cf0787e169.yaml | 0 ...avoid_copy_of_config-7f7891864c1a1bd0.yaml | 0 ..._mac_from_blas_error-bd5b836a23f2e3ee.yaml | 0 .../check_param_length-eb69cd92825bbca4.yaml | 0 ...arameter_binds_exist-9d52c665d5f94dde.yaml | 0 ..._in_state_controller-a92692fd7083c476.yaml | 0 ...er-backend-gathering-773d0ed8092c24d9.yaml | 0 ..._not_modify_metadata-60bb4b88707bd021.yaml | 0 ...stabilizer_simulator-00110a1b39d35054.yaml | 0 .../estimator-order-bug-a341d82075f47046.yaml | 0 ...stimator-performance-da83a59b9fd69086.yaml | 0 ...imator-variance-type-2b04ff7bcd305920.yaml | 0 ...aer-vector-alignment-aace6e14342c002e.yaml | 0 ...in-release-with-vc++-47500a37841cfaa8.yaml | 0 ...ix-cuStateVec_enable-0936f2269466e3be.yaml | 0 ...xcitation-population-6af281a61f659dda.yaml | 0 ...dling-in-noise-model-34fcc9a3e3cbdf6f.yaml | 0 ...dling-in-noise-model-5b712adf3569eccd.yaml | 0 .../fix-number-qubits-a417ca6afa64264f.yaml | 0 ...state_initialize_api-0c2c237a606648ef.yaml | 0 ...ix_cuQuantum_libpath-90d24880cd9a9ea8.yaml | 0 ...fix_cuQuantum_static-ad132d742a64a3d5.yaml | 0 .../fix_gpu_binary-1b5b162dff76060d.yaml | 0 ...atplotlib_dependency-5b8ba26da6a98e3a.yaml | 0 .../fix_mpi_procs-68b76c11fe7a6b8e.yaml | 0 ...izer_required_memory-f4fb0aebfeeb68e2.yaml | 0 .../fix_omp_nested-a554de2e7fd2a2d6.yaml | 0 ...p_nested_performance-a3d55f3e85366a5b.yaml | 0 ...ing_for_pram_circuit-50e64efbedaec8fd.yaml | 0 ...x_parameter_indexing-f29f19568270d002.yaml | 0 .../fix_qobj_run-8ea657a93ce9acd2.yaml | 0 ...x_required_memory_mb-7aeafa0fe553b85a.yaml | 0 ...x_stabilizer_measure-49f9b4261dfaa4d3.yaml | 0 ...t_cast_for_arguments-a3c671db2fff6f17.yaml | 0 ...++-compilation-fixes-555601315e7e821b.yaml | 0 ...s-grouping-index-bug-56f69afbdc3e86a0.yaml | 0 ...ntum_error_from_dict-8188a864109edd67.yaml | 0 .../0.13/release_0.13.0-456c0b054ea30a1b.yaml | 22 ++ ...ircuit_from_metadata-e4fe09029c1a3a3c.yaml | 0 ...move_pulse_simulator-f8de2f6d380f446a.yaml | 0 .../renew_gpu_binaries-2cf3eba0853b8407.yaml | 0 ...me_parameter_binding-d2c57255f02729a1.yaml | 0 .../sampler-performance-81e1649ec4657aad.yaml | 0 ...ector_for_qasm3_circ-642ade99af3ff0d2.yaml | 0 ...ip-cuda-requirements-927ddce79b9e7108.yaml | 0 .../stabilizer_rotation-8ce2effd9578ee0a.yaml | 0 .../support_backend_v2-9eeb4690199b01d1.yaml | 0 .../support_c_if_reset-1f0b8e84948fb3fc.yaml | 0 ...pport_classical_expr-dd621e5c0fd23a15.yaml | 0 ...pport_int_initialize-8491979c4a003908.yaml | 0 ...ram_for_global_phase-704a97129e7bdbaa.yaml | 0 .../support_switch-41603d87cb8358fb.yaml | 0 ...switch_transpilation-67e16241b94faa86.yaml | 0 ...pport_u3_runtime_api-42f013f111c319ff.yaml | 0 ...et_max_active_levels-7e6c1d301c4434a6.yaml | 0 setup.py | 3 +- test/asv.linux.conf.json | 8 +- test/asv.linux.cuda.conf.json | 8 +- 71 files changed, 149 insertions(+), 107 deletions(-) rename releasenotes/notes/{ => 0.13}/add-rocm-support-db991e3c2f2ca455.yaml (100%) rename releasenotes/notes/{ => 0.13}/add_executor-a03f2d23cf6f4ca9.yaml (100%) rename releasenotes/notes/{ => 0.13}/add_executor-ba4870f86ed5d8ec.yaml (100%) rename releasenotes/notes/{ => 0.13}/aer-runtime-api-exposed-wrong-sx-op-dadae6cf0787e169.yaml (100%) rename releasenotes/notes/{ => 0.13}/avoid_copy_of_config-7f7891864c1a1bd0.yaml (100%) rename releasenotes/notes/{ => 0.13}/avoid_kernel_crash_in_mac_from_blas_error-bd5b836a23f2e3ee.yaml (100%) rename releasenotes/notes/{ => 0.13}/check_param_length-eb69cd92825bbca4.yaml (100%) rename releasenotes/notes/{ => 0.13}/check_parameter_binds_exist-9d52c665d5f94dde.yaml (100%) rename releasenotes/notes/{ => 0.13}/correct_measure_in_state_controller-a92692fd7083c476.yaml (100%) rename releasenotes/notes/{ => 0.13}/defer-backend-gathering-773d0ed8092c24d9.yaml (100%) rename releasenotes/notes/{ => 0.13}/do_not_modify_metadata-60bb4b88707bd021.yaml (100%) rename releasenotes/notes/{ => 0.13}/enhancement_ecr_for_stabilizer_simulator-00110a1b39d35054.yaml (100%) rename releasenotes/notes/{ => 0.13}/estimator-order-bug-a341d82075f47046.yaml (100%) rename releasenotes/notes/{ => 0.13}/estimator-performance-da83a59b9fd69086.yaml (100%) rename releasenotes/notes/{ => 0.13}/estimator-variance-type-2b04ff7bcd305920.yaml (100%) rename releasenotes/notes/{ => 0.13}/fix-aer-vector-alignment-aace6e14342c002e.yaml (100%) rename releasenotes/notes/{ => 0.13}/fix-compiling-issue-in-release-with-vc++-47500a37841cfaa8.yaml (100%) rename releasenotes/notes/{ => 0.13}/fix-cuStateVec_enable-0936f2269466e3be.yaml (100%) rename releasenotes/notes/{ => 0.13}/fix-excitation-population-6af281a61f659dda.yaml (100%) rename releasenotes/notes/{ => 0.13}/fix-none-handling-in-noise-model-34fcc9a3e3cbdf6f.yaml (100%) rename releasenotes/notes/{ => 0.13}/fix-none-t2-handling-in-noise-model-5b712adf3569eccd.yaml (100%) rename releasenotes/notes/{ => 0.13}/fix-number-qubits-a417ca6afa64264f.yaml (100%) rename releasenotes/notes/{ => 0.13}/fix_aer_state_initialize_api-0c2c237a606648ef.yaml (100%) rename releasenotes/notes/{ => 0.13}/fix_cuQuantum_libpath-90d24880cd9a9ea8.yaml (100%) rename releasenotes/notes/{ => 0.13}/fix_cuQuantum_static-ad132d742a64a3d5.yaml (100%) rename releasenotes/notes/{ => 0.13}/fix_gpu_binary-1b5b162dff76060d.yaml (100%) rename releasenotes/notes/{ => 0.13}/fix_matplotlib_dependency-5b8ba26da6a98e3a.yaml (100%) rename releasenotes/notes/{ => 0.13}/fix_mpi_procs-68b76c11fe7a6b8e.yaml (100%) rename releasenotes/notes/{ => 0.13}/fix_mps_extstabilizer_required_memory-f4fb0aebfeeb68e2.yaml (100%) rename releasenotes/notes/{ => 0.13}/fix_omp_nested-a554de2e7fd2a2d6.yaml (100%) rename releasenotes/notes/{ => 0.13}/fix_omp_nested_performance-a3d55f3e85366a5b.yaml (100%) rename releasenotes/notes/{ => 0.13}/fix_param_binding_for_pram_circuit-50e64efbedaec8fd.yaml (100%) rename releasenotes/notes/{ => 0.13}/fix_parameter_indexing-f29f19568270d002.yaml (100%) rename releasenotes/notes/{ => 0.13}/fix_qobj_run-8ea657a93ce9acd2.yaml (100%) rename releasenotes/notes/{ => 0.13}/fix_required_memory_mb-7aeafa0fe553b85a.yaml (100%) rename releasenotes/notes/{ => 0.13}/fix_stabilizer_measure-49f9b4261dfaa4d3.yaml (100%) rename releasenotes/notes/{ => 0.13}/implicit_cast_for_arguments-a3c671db2fff6f17.yaml (100%) rename releasenotes/notes/{ => 0.13}/latest-vc++-compilation-fixes-555601315e7e821b.yaml (100%) rename releasenotes/notes/{ => 0.13}/primitives-grouping-index-bug-56f69afbdc3e86a0.yaml (100%) rename releasenotes/notes/{ => 0.13}/quantum_error_from_dict-8188a864109edd67.yaml (100%) create mode 100644 releasenotes/notes/0.13/release_0.13.0-456c0b054ea30a1b.yaml rename releasenotes/notes/{ => 0.13}/remove_aer_circuit_from_metadata-e4fe09029c1a3a3c.yaml (100%) rename releasenotes/notes/{ => 0.13}/remove_pulse_simulator-f8de2f6d380f446a.yaml (100%) rename releasenotes/notes/{ => 0.13}/renew_gpu_binaries-2cf3eba0853b8407.yaml (100%) rename releasenotes/notes/{ => 0.13}/runtime_parameter_binding-d2c57255f02729a1.yaml (100%) rename releasenotes/notes/{ => 0.13}/sampler-performance-81e1649ec4657aad.yaml (100%) rename releasenotes/notes/{ => 0.13}/save_statevector_for_qasm3_circ-642ade99af3ff0d2.yaml (100%) rename releasenotes/notes/{ => 0.13}/skip-cuda-requirements-927ddce79b9e7108.yaml (100%) rename releasenotes/notes/{ => 0.13}/stabilizer_rotation-8ce2effd9578ee0a.yaml (100%) rename releasenotes/notes/{ => 0.13}/support_backend_v2-9eeb4690199b01d1.yaml (100%) rename releasenotes/notes/{ => 0.13}/support_c_if_reset-1f0b8e84948fb3fc.yaml (100%) rename releasenotes/notes/{ => 0.13}/support_classical_expr-dd621e5c0fd23a15.yaml (100%) rename releasenotes/notes/{ => 0.13}/support_int_initialize-8491979c4a003908.yaml (100%) rename releasenotes/notes/{ => 0.13}/support_param_for_global_phase-704a97129e7bdbaa.yaml (100%) rename releasenotes/notes/{ => 0.13}/support_switch-41603d87cb8358fb.yaml (100%) rename releasenotes/notes/{ => 0.13}/support_switch_transpilation-67e16241b94faa86.yaml (100%) rename releasenotes/notes/{ => 0.13}/support_u3_runtime_api-42f013f111c319ff.yaml (100%) rename releasenotes/notes/{ => 0.13}/use_omp_set_max_active_levels-7e6c1d301c4434a6.yaml (100%) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d8ac259592..8834b67dbd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -62,7 +62,7 @@ jobs: shell: bash - name: Run qobj run: | - pip install -U qiskit-terra + pip install -U qiskit python tools/generate_qobj.py cd out Release/qasm_simulator ../qobj.json | python ../tools/verify_standalone_results.py @@ -109,7 +109,7 @@ jobs: shell: bash - name: Run qobj run: | - pip install -U qiskit-terra + pip install -U qiskit python tools/generate_qobj.py cd out /usr/bin/mpirun.openmpi -host localhost:2 -np 2 Release/qasm_simulator ../qobj.json | python ../tools/verify_standalone_results.py diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index fc5b9877d2..6c92ad004b 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -10,39 +10,37 @@ jobs: matrix: os: ["macOS-latest", "ubuntu-latest", "windows-2019"] runs-on: ${{ matrix.os }} + environment: release steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-python@v4 name: Install Python with: python-version: '3.8' - name: Install cibuildwheel run: | - python -m pip install cibuildwheel==2.11.2 + python -m pip install cibuildwheel==2.16.2 - name: Build wheels env: AER_CMAKE_OPENMP_BUILD: 1 run: python -m cibuildwheel --output-dir wheelhouse - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v3 with: path: ./wheelhouse/*.whl - - name: Publish Wheels - env: - TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }} - TWINE_USERNAME: qiskit - run : | - pip install -U twine - twine upload wheelhouse/* + name: publish-shared-wheels build_wheels_aarch64: name: Build wheels on ${{ matrix.os }} runs-on: ${{ matrix.os }} + environment: release + permissions: + id-token: write strategy: fail-fast: false matrix: os: [ubuntu-latest] steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-python@v4 name: Install Python with: python-version: '3.8' @@ -55,73 +53,78 @@ jobs: platforms: all - name: Install cibuildwheel run: | - python -m pip install cibuildwheel==2.11.2 twine + python -m pip install cibuildwheel==2.16.2 - name: Build wheels run: | python -m cibuildwheel --output-dir wheelhouse env: CIBW_BEFORE_ALL_LINUX: "yum install -y https://dl.fedoraproject.org/pub/epel/7/aarch64/Packages/e/epel-release-7-12.noarch.rpm && yum install -y openblas-devel" CIBW_ARCHS_LINUX: aarch64 - - uses: actions/upload-artifact@v2 + CIBW_TEST_SKIP: "cp38* cp39* cp310* cp311*" + - uses: actions/upload-artifact@v3 with: path: ./wheelhouse/*.whl - - name: Upload to PyPI - run: twine upload ./wheelhouse/*.whl - env: - TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }} - TWINE_USERNAME: qiskit + - name: Publish package distributions to PyPI + uses: pypa/gh-action-pypi-publish@release/v1 + with: + packages-dir: wheelhouse wheel-arm64-macos: runs-on: ${{ matrix.os }} strategy: fail-fast: false matrix: os: ["macOS-latest"] + environment: release steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set up Python Python 3.8 - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: 3.8 - name: Install deps - run: python -m pip install -U cibuildwheel==2.11.2 twine + run: python -m pip install -U cibuildwheel==2.16.2 - name: Build Wheels env: CIBW_ARCHS_MACOS: arm64 run: cibuildwheel --output-dir wheelhouse - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v3 with: path: ./wheelhouse/*.whl - - name: Upload to PyPI - run: twine upload ./wheelhouse/*.whl - env: - TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }} - TWINE_USERNAME: qiskit + name: publish-shared-wheels sdist: name: Publish qiskit-aer sdist runs-on: ubuntu-latest + environment: release + permissions: + id-token: write steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-python@v4 name: Install Python with: python-version: '3.8' - name: Install Deps - run: pip install -U twine wheel + run: pip install -U scikit-build wheel - name: Build Artifacts run: | python setup.py sdist shell: bash - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v3 with: path: ./dist/qiskit* - - name: Publish to PyPi - env: - TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }} - TWINE_USERNAME: qiskit - run: twine upload dist/qiskit* + - name: Publish package distributions to PyPI + uses: pypa/gh-action-pypi-publish@release/v1 + with: + packages-dir: dist gpu-build-cuda11: name: Build qiskit-aer-gpu-cu11 wheels - runs-on: ubuntu-latest + strategy: + matrix: + os: ["ubuntu-latest"] + runs-on: ${{ matrix.os }} + environment: release + permissions: + id-token: write steps: - name: Maximize build space uses: easimon/maximize-build-space@master @@ -133,36 +136,39 @@ jobs: remove-haskell: 'true' remove-codeql: 'true' remove-docker-images: 'true' - - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-python@v4 name: Install Python with: python-version: '3.8' - name: Install cibuildwheel run: | - python -m pip install cibuildwheel==2.11.2 + python -m pip install cibuildwheel==2.16.2 - name: Build wheels env: CIBW_BEFORE_ALL: "yum install -y yum-utils wget && wget -q https://developer.download.nvidia.com/compute/cuda/11.8.0/local_installers/cuda-repo-rhel7-11-8-local-11.8.0_520.61.05-1.x86_64.rpm && rpm -i cuda-repo-rhel7-11-8-local-11.8.0_520.61.05-1.x86_64.rpm && yum clean all && yum -y install cuda && yum -y install openblas-devel && yum-config-manager --add-repo https://developer.download.nvidia.com/compute/cuda/repos/rhel7/x86_64/cuda-rhel7.repo && yum clean all" CIBW_BEFORE_BUILD : "pip install nvidia-cuda-runtime-cu11 nvidia-cublas-cu11 nvidia-cusolver-cu11 nvidia-cusparse-cu11 cuquantum-cu11" - CIBW_SKIP: "*-manylinux_i686 pp* cp36* *musllinux*" + CIBW_SKIP: "*-manylinux_i686 pp* cp36* cp37* *musllinux*" CIBW_ENVIRONMENT: QISKIT_AER_PACKAGE_NAME=qiskit-aer-gpu-cu11 QISKIT_AER_CUDA_MAJOR=11 CMAKE_VERBOSE_MAKEFILE=true AER_THRUST_BACKEND=CUDA CUDACXX=/usr/local/cuda/bin/nvcc AER_CUDA_ARCH="7.0 7.2 7.5 8.0 8.6 8.7" AER_PYTHON_CUDA_ROOT=/opt/_internal AER_CIBUILD=true CIBW_REPAIR_WHEEL_COMMAND: 'auditwheel repair --exclude libcudart.so.11.0 --exclude libcustatevec.so.1 --exclude libcutensornet.so.2 --exclude libcutensor.so.1 --exclude libcutensorMg.so.1 --exclude libcusolver.so.11 --exclude libcusolverMg.so.11 --exclude libcusparse.so.11 --exclude libcublas.so.11 --exclude libcublasLt.so.11 -w {dest_dir} {wheel}' run: | python -m cibuildwheel --output-dir wheelhouse - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v3 with: path: ./wheelhouse/*.whl - - name: Publish Wheels - env: - TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }} - TWINE_USERNAME: qiskit - run : | - pip install -U twine - twine upload wheelhouse/* + - name: Publish package distributions to PyPI + uses: pypa/gh-action-pypi-publish@release/v1 + with: + packages-dir: wheelhouse gpu-build-cuda12: name: Build qiskit-aer-gpu-cu12 wheels - runs-on: ubuntu-latest + strategy: + matrix: + os: ["ubuntu-latest"] + runs-on: ${{ matrix.os }} + environment: release + permissions: + id-token: write steps: - name: Maximize build space uses: easimon/maximize-build-space@master @@ -174,43 +180,43 @@ jobs: remove-haskell: 'true' remove-codeql: 'true' remove-docker-images: 'true' - - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-python@v4 name: Install Python with: python-version: '3.8' - name: Install cibuildwheel run: | - python -m pip install cibuildwheel==2.11.2 + python -m pip install cibuildwheel==2.16.2 - name: Build wheels env: - CIBW_BEFORE_ALL: "yum install -y yum-utils wget && wget -q https://developer.download.nvidia.com/compute/cuda/12.1.1/local_installers/cuda-repo-rhel7-12-1-local-12.1.1_530.30.02-1.x86_64.rpm && rpm -i cuda-repo-rhel7-12-1-local-12.1.1_530.30.02-1.x86_64.rpm && yum clean all && yum -y install cuda && yum -y install openblas-devel && yum-config-manager --add-repo https://developer.download.nvidia.com/compute/cuda/repos/rhel7/x86_64/cuda-rhel7.repo && yum clean all" - CIBW_BEFORE_BUILD : "pip install nvidia-cuda-runtime-cu12 nvidia-cublas-cu12 nvidia-cusolver-cu12 nvidia-cusparse-cu12 cuquantum-cu12" - CIBW_SKIP: "*-manylinux_i686 pp* cp36* *musllinux*" + CIBW_BEFORE_ALL: "yum install -y yum-utils wget && wget -q https://developer.download.nvidia.com/compute/cuda/12.2.2/local_installers/cuda-repo-rhel7-12-2-local-12.2.2_535.104.05-1.x86_64.rpm && rpm -i cuda-repo-rhel7-12-2-local-12.2.2_535.104.05-1.x86_64.rpm && yum clean all && yum -y install nvidia-driver-latest-dkms && yum -y install cuda && yum -y install openblas-devel && yum-config-manager --add-repo https://developer.download.nvidia.com/compute/cuda/repos/rhel7/x86_64/cuda-rhel7.repo && yum clean all" + CIBW_BEFORE_BUILD : "pip install nvidia-cuda-runtime-cu12 nvidia-nvjitlink-cu12 nvidia-cublas-cu12 nvidia-cusolver-cu12 nvidia-cusparse-cu12 cuquantum-cu12" + CIBW_SKIP: "*-manylinux_i686 pp* cp36* cp37* *musllinux*" CIBW_ENVIRONMENT: QISKIT_AER_PACKAGE_NAME=qiskit-aer-gpu QISKIT_AER_CUDA_MAJOR=12 CMAKE_VERBOSE_MAKEFILE=true AER_THRUST_BACKEND=CUDA CUDACXX=/usr/local/cuda/bin/nvcc AER_CUDA_ARCH="7.0 7.2 7.5 8.0 8.6 8.7 9.0" AER_PYTHON_CUDA_ROOT=/opt/_internal AER_CIBUILD=true CIBW_REPAIR_WHEEL_COMMAND: 'auditwheel repair --exclude libcudart.so.12 --exclude libcustatevec.so.1 --exclude libcutensornet.so.2 --exclude libcutensor.so.1 --exclude libcutensorMg.so.1 --exclude libcusolver.so.11 --exclude libcusolverMg.so.11 --exclude libcusolver.so.12 --exclude libcusolverMg.so.12 --exclude libcusparse.so.12 --exclude libcublas.so.12 --exclude libcublasLt.so.12 --exclude libnvJitLink.so.12 -w {dest_dir} {wheel}' run: | python -m cibuildwheel --output-dir wheelhouse - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v3 with: path: ./wheelhouse/*.whl - - name: Publish Wheels - env: - TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }} - TWINE_USERNAME: qiskit - run : | - pip install -U twine - twine upload wheelhouse/* + - name: Publish package distributions to PyPI + uses: pypa/gh-action-pypi-publish@release/v1 + with: + packages-dir: wheelhouse build_wheels_s390x: name: Build wheels on s390x runs-on: ${{ matrix.os }} + environment: release + permissions: + id-token: write strategy: fail-fast: false matrix: os: [ubuntu-latest] steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-python@v4 name: Install Python with: python-version: '3.8' @@ -222,31 +228,31 @@ jobs: with: platforms: all - name: Build wheels - uses: pypa/cibuildwheel@v2.11.2 + uses: pypa/cibuildwheel@v2.16.2 env: CIBW_ARCHS_LINUX: s390x CIBW_TEST_SKIP: "cp*" CIBW_BEFORE_ALL: "yum install -y epel-release && yum install -y openblas-devel" - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v3 with: path: ./wheelhouse/*.whl - - name: Install twine - run: python -m pip install twine - - name: Upload to PyPI - run: twine upload ./wheelhouse/*.whl - env: - TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }} - TWINE_USERNAME: qiskit + - name: Publish package distributions to PyPI + uses: pypa/gh-action-pypi-publish@release/v1 + with: + packages-dir: wheelhouse build_wheels_ppc64le: name: Build wheels on ppc64le runs-on: ${{ matrix.os }} + environment: release + permissions: + id-token: write strategy: fail-fast: false matrix: os: [ubuntu-latest] steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-python@v4 name: Install Python with: python-version: '3.8' @@ -258,18 +264,31 @@ jobs: with: platforms: all - name: Build wheels - uses: pypa/cibuildwheel@v2.11.2 + uses: pypa/cibuildwheel@v2.16.2 env: CIBW_ARCHS_LINUX: ppc64le CIBW_TEST_SKIP: "cp*" CIBW_BEFORE_ALL: "yum install -y epel-release && yum install -y openblas-devel" - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v3 with: path: ./wheelhouse/*.whl - - name: Install twine - run: python -m pip install twine - - name: Upload to PyPI - run: twine upload ./wheelhouse/*.whl - env: - TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }} - TWINE_USERNAME: qiskit + - name: Publish package distributions to PyPI + uses: pypa/gh-action-pypi-publish@release/v1 + with: + packages-dir: wheelhouse + publish-shared-wheels: + name: Publish shared wheels + runs-on: ubuntu-latest + needs: [wheel-build, wheel-arm64-macos] + environment: release + permissions: + id-token: write + steps: + - uses: actions/download-artifact@v3 + with: + path: deploy + name: publish-shared-wheels + - name: Publish package distributions to PyPI + uses: pypa/gh-action-pypi-publish@release/v1 + with: + packages-dir: deploy diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 28b533ac6c..192e7bcd07 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -72,7 +72,7 @@ jobs: git clone https://github.com/Qiskit/qiskit-tutorials --depth=1 python -m pip install --upgrade pip wheel pip install -U -r requirements-dev.txt -c constraints.txt - pip install -c constraints.txt git+https://github.com/Qiskit/qiskit-terra + pip install -c constraints.txt git+https://github.com/Qiskit/qiskit pip install -c constraints.txt . pip install -U "qiskit-ibmq-provider" "z3-solver" "qiskit-ignis" "qiskit-aqua" "pyscf<1.7.4" "matplotlib>=3.3.0" jupyter pylatexenc nbsphinx cvxpy qiskit-sphinx-theme -c constraints.txt sudo apt install -y graphviz pandoc libopenblas-dev diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a5efe586ee..5f25e8ea0c 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -32,7 +32,7 @@ jobs: run: | set -e pip install -U pip wheel - pip install -U -c constraints.txt -r requirements-dev.txt qiskit-terra numpy scipy + pip install -U -c constraints.txt -r requirements-dev.txt qiskit numpy scipy shell: bash - name: Run clang-format run: | diff --git a/docs/tutorials/1_aer_provider.ipynb b/docs/tutorials/1_aer_provider.ipynb index 9e165a5701..0921311439 100755 --- a/docs/tutorials/1_aer_provider.ipynb +++ b/docs/tutorials/1_aer_provider.ipynb @@ -772,7 +772,7 @@ { "data": { "text/html": [ - "

Version Information

Qiskit SoftwareVersion
qiskit-terra0.24.0.dev0+dba2eff
qiskit-aer0.11.2
qiskit-ignis0.7.1
qiskit-ibmq-provider0.20.0
qiskit0.41.0
System information
Python version3.8.11
Python compilerClang 12.0.5 (clang-1205.0.22.11)
Python builddefault, Jul 27 2021 10:46:38
OSDarwin
CPUs8
Memory (Gb)64.0
Wed Feb 15 14:35:41 2023 JST
" + "

Version Information

Qiskit SoftwareVersion
qiskit0.24.0.dev0+dba2eff
qiskit-aer0.11.2
qiskit-ignis0.7.1
qiskit-ibmq-provider0.20.0
qiskit0.41.0
System information
Python version3.8.11
Python compilerClang 12.0.5 (clang-1205.0.22.11)
Python builddefault, Jul 27 2021 10:46:38
OSDarwin
CPUs8
Memory (Gb)64.0
Wed Feb 15 14:35:41 2023 JST
" ], "text/plain": [ "" diff --git a/docs/tutorials/2_device_noise_simulation.ipynb b/docs/tutorials/2_device_noise_simulation.ipynb index aef129393c..518ee69899 100755 --- a/docs/tutorials/2_device_noise_simulation.ipynb +++ b/docs/tutorials/2_device_noise_simulation.ipynb @@ -210,7 +210,7 @@ { "data": { "text/html": [ - "

Version Information

Qiskit SoftwareVersion
qiskit-terra0.22.0.dev0+397a639
qiskit-aer0.10.4
System information
Python version3.10.4
Python compilerClang 12.0.0
Python buildmain, Mar 31 2022 03:38:35
OSDarwin
CPUs2
Memory (Gb)8.0
Thu Jul 14 10:20:15 2022 +08
" + "

Version Information

Qiskit SoftwareVersion
qiskit0.22.0.dev0+397a639
qiskit-aer0.10.4
System information
Python version3.10.4
Python compilerClang 12.0.0
Python buildmain, Mar 31 2022 03:38:35
OSDarwin
CPUs2
Memory (Gb)8.0
Thu Jul 14 10:20:15 2022 +08
" ], "text/plain": [ "" diff --git a/docs/tutorials/3_building_noise_models.ipynb b/docs/tutorials/3_building_noise_models.ipynb index 771fbff7fe..572e4564a5 100644 --- a/docs/tutorials/3_building_noise_models.ipynb +++ b/docs/tutorials/3_building_noise_models.ipynb @@ -845,7 +845,7 @@ { "data": { "text/html": [ - "

Version Information

Qiskit SoftwareVersion
qiskit-terra0.24.0.dev0+dba2eff
qiskit-aer0.11.2
qiskit-ibmq-provider0.19.2
qiskit0.40.0
System information
Python version3.8.11
Python compilerClang 12.0.5 (clang-1205.0.22.11)
Python builddefault, Jul 27 2021 10:46:38
OSDarwin
CPUs8
Memory (Gb)64.0
Tue Feb 07 10:30:00 2023 JST
" + "

Version Information

Qiskit SoftwareVersion
qiskit0.24.0.dev0+dba2eff
qiskit-aer0.11.2
qiskit-ibmq-provider0.19.2
qiskit0.40.0
System information
Python version3.8.11
Python compilerClang 12.0.5 (clang-1205.0.22.11)
Python builddefault, Jul 27 2021 10:46:38
OSDarwin
CPUs8
Memory (Gb)64.0
Tue Feb 07 10:30:00 2023 JST
" ], "text/plain": [ "" diff --git a/docs/tutorials/5_noise_transformation.ipynb b/docs/tutorials/5_noise_transformation.ipynb index 9b9547c7db..ba8d9034a2 100755 --- a/docs/tutorials/5_noise_transformation.ipynb +++ b/docs/tutorials/5_noise_transformation.ipynb @@ -318,7 +318,7 @@ { "data": { "text/html": [ - "

Version Information

Qiskit SoftwareVersion
qiskit-terra0.24.0.dev0+dba2eff
qiskit-aer0.11.2
qiskit-ignis0.7.1
qiskit-ibmq-provider0.20.0
qiskit0.41.0
System information
Python version3.8.11
Python compilerClang 12.0.5 (clang-1205.0.22.11)
Python builddefault, Jul 27 2021 10:46:38
OSDarwin
CPUs8
Memory (Gb)64.0
Wed Feb 15 14:17:23 2023 JST
" + "

Version Information

Qiskit SoftwareVersion
qiskit0.24.0.dev0+dba2eff
qiskit-aer0.11.2
qiskit-ignis0.7.1
qiskit-ibmq-provider0.20.0
qiskit0.41.0
System information
Python version3.8.11
Python compilerClang 12.0.5 (clang-1205.0.22.11)
Python builddefault, Jul 27 2021 10:46:38
OSDarwin
CPUs8
Memory (Gb)64.0
Wed Feb 15 14:17:23 2023 JST
" ], "text/plain": [ "" diff --git a/pyproject.toml b/pyproject.toml index 8bcfe1bdce..6c9699845a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -14,7 +14,7 @@ build-backend = "setuptools.build_meta" [tool.cibuildwheel] manylinux-x86_64-image = "manylinux2014" manylinux-i686-image = "manylinux2014" -skip = "pp* cp36* cp37* *musllinux*" +skip = "pp* cp36* cp37* cp312* *musllinux*" test-skip = "cp310-win32 cp310-manylinux_i686 cp311-win32 cp311-manylinux_i686" test-command = "python {project}/tools/verify_wheels.py" # We need to use pre-built versions of Numpy and Scipy in the tests; they have a diff --git a/qiskit_aer/backends/aerbackend.py b/qiskit_aer/backends/aerbackend.py index a1f72779f3..22f620ba77 100644 --- a/qiskit_aer/backends/aerbackend.py +++ b/qiskit_aer/backends/aerbackend.py @@ -313,7 +313,7 @@ def configuration(self): for key, val in self._options_configuration.items(): setattr(config, key, val) # If config has custom instructions add them to - # basis gates to include them for the terra transpiler + # basis gates to include them for the qiskit transpiler if hasattr(config, "custom_instructions"): config.basis_gates = config.basis_gates + config.custom_instructions return config diff --git a/releasenotes/notes/add-rocm-support-db991e3c2f2ca455.yaml b/releasenotes/notes/0.13/add-rocm-support-db991e3c2f2ca455.yaml similarity index 100% rename from releasenotes/notes/add-rocm-support-db991e3c2f2ca455.yaml rename to releasenotes/notes/0.13/add-rocm-support-db991e3c2f2ca455.yaml diff --git a/releasenotes/notes/add_executor-a03f2d23cf6f4ca9.yaml b/releasenotes/notes/0.13/add_executor-a03f2d23cf6f4ca9.yaml similarity index 100% rename from releasenotes/notes/add_executor-a03f2d23cf6f4ca9.yaml rename to releasenotes/notes/0.13/add_executor-a03f2d23cf6f4ca9.yaml diff --git a/releasenotes/notes/add_executor-ba4870f86ed5d8ec.yaml b/releasenotes/notes/0.13/add_executor-ba4870f86ed5d8ec.yaml similarity index 100% rename from releasenotes/notes/add_executor-ba4870f86ed5d8ec.yaml rename to releasenotes/notes/0.13/add_executor-ba4870f86ed5d8ec.yaml diff --git a/releasenotes/notes/aer-runtime-api-exposed-wrong-sx-op-dadae6cf0787e169.yaml b/releasenotes/notes/0.13/aer-runtime-api-exposed-wrong-sx-op-dadae6cf0787e169.yaml similarity index 100% rename from releasenotes/notes/aer-runtime-api-exposed-wrong-sx-op-dadae6cf0787e169.yaml rename to releasenotes/notes/0.13/aer-runtime-api-exposed-wrong-sx-op-dadae6cf0787e169.yaml diff --git a/releasenotes/notes/avoid_copy_of_config-7f7891864c1a1bd0.yaml b/releasenotes/notes/0.13/avoid_copy_of_config-7f7891864c1a1bd0.yaml similarity index 100% rename from releasenotes/notes/avoid_copy_of_config-7f7891864c1a1bd0.yaml rename to releasenotes/notes/0.13/avoid_copy_of_config-7f7891864c1a1bd0.yaml diff --git a/releasenotes/notes/avoid_kernel_crash_in_mac_from_blas_error-bd5b836a23f2e3ee.yaml b/releasenotes/notes/0.13/avoid_kernel_crash_in_mac_from_blas_error-bd5b836a23f2e3ee.yaml similarity index 100% rename from releasenotes/notes/avoid_kernel_crash_in_mac_from_blas_error-bd5b836a23f2e3ee.yaml rename to releasenotes/notes/0.13/avoid_kernel_crash_in_mac_from_blas_error-bd5b836a23f2e3ee.yaml diff --git a/releasenotes/notes/check_param_length-eb69cd92825bbca4.yaml b/releasenotes/notes/0.13/check_param_length-eb69cd92825bbca4.yaml similarity index 100% rename from releasenotes/notes/check_param_length-eb69cd92825bbca4.yaml rename to releasenotes/notes/0.13/check_param_length-eb69cd92825bbca4.yaml diff --git a/releasenotes/notes/check_parameter_binds_exist-9d52c665d5f94dde.yaml b/releasenotes/notes/0.13/check_parameter_binds_exist-9d52c665d5f94dde.yaml similarity index 100% rename from releasenotes/notes/check_parameter_binds_exist-9d52c665d5f94dde.yaml rename to releasenotes/notes/0.13/check_parameter_binds_exist-9d52c665d5f94dde.yaml diff --git a/releasenotes/notes/correct_measure_in_state_controller-a92692fd7083c476.yaml b/releasenotes/notes/0.13/correct_measure_in_state_controller-a92692fd7083c476.yaml similarity index 100% rename from releasenotes/notes/correct_measure_in_state_controller-a92692fd7083c476.yaml rename to releasenotes/notes/0.13/correct_measure_in_state_controller-a92692fd7083c476.yaml diff --git a/releasenotes/notes/defer-backend-gathering-773d0ed8092c24d9.yaml b/releasenotes/notes/0.13/defer-backend-gathering-773d0ed8092c24d9.yaml similarity index 100% rename from releasenotes/notes/defer-backend-gathering-773d0ed8092c24d9.yaml rename to releasenotes/notes/0.13/defer-backend-gathering-773d0ed8092c24d9.yaml diff --git a/releasenotes/notes/do_not_modify_metadata-60bb4b88707bd021.yaml b/releasenotes/notes/0.13/do_not_modify_metadata-60bb4b88707bd021.yaml similarity index 100% rename from releasenotes/notes/do_not_modify_metadata-60bb4b88707bd021.yaml rename to releasenotes/notes/0.13/do_not_modify_metadata-60bb4b88707bd021.yaml diff --git a/releasenotes/notes/enhancement_ecr_for_stabilizer_simulator-00110a1b39d35054.yaml b/releasenotes/notes/0.13/enhancement_ecr_for_stabilizer_simulator-00110a1b39d35054.yaml similarity index 100% rename from releasenotes/notes/enhancement_ecr_for_stabilizer_simulator-00110a1b39d35054.yaml rename to releasenotes/notes/0.13/enhancement_ecr_for_stabilizer_simulator-00110a1b39d35054.yaml diff --git a/releasenotes/notes/estimator-order-bug-a341d82075f47046.yaml b/releasenotes/notes/0.13/estimator-order-bug-a341d82075f47046.yaml similarity index 100% rename from releasenotes/notes/estimator-order-bug-a341d82075f47046.yaml rename to releasenotes/notes/0.13/estimator-order-bug-a341d82075f47046.yaml diff --git a/releasenotes/notes/estimator-performance-da83a59b9fd69086.yaml b/releasenotes/notes/0.13/estimator-performance-da83a59b9fd69086.yaml similarity index 100% rename from releasenotes/notes/estimator-performance-da83a59b9fd69086.yaml rename to releasenotes/notes/0.13/estimator-performance-da83a59b9fd69086.yaml diff --git a/releasenotes/notes/estimator-variance-type-2b04ff7bcd305920.yaml b/releasenotes/notes/0.13/estimator-variance-type-2b04ff7bcd305920.yaml similarity index 100% rename from releasenotes/notes/estimator-variance-type-2b04ff7bcd305920.yaml rename to releasenotes/notes/0.13/estimator-variance-type-2b04ff7bcd305920.yaml diff --git a/releasenotes/notes/fix-aer-vector-alignment-aace6e14342c002e.yaml b/releasenotes/notes/0.13/fix-aer-vector-alignment-aace6e14342c002e.yaml similarity index 100% rename from releasenotes/notes/fix-aer-vector-alignment-aace6e14342c002e.yaml rename to releasenotes/notes/0.13/fix-aer-vector-alignment-aace6e14342c002e.yaml diff --git a/releasenotes/notes/fix-compiling-issue-in-release-with-vc++-47500a37841cfaa8.yaml b/releasenotes/notes/0.13/fix-compiling-issue-in-release-with-vc++-47500a37841cfaa8.yaml similarity index 100% rename from releasenotes/notes/fix-compiling-issue-in-release-with-vc++-47500a37841cfaa8.yaml rename to releasenotes/notes/0.13/fix-compiling-issue-in-release-with-vc++-47500a37841cfaa8.yaml diff --git a/releasenotes/notes/fix-cuStateVec_enable-0936f2269466e3be.yaml b/releasenotes/notes/0.13/fix-cuStateVec_enable-0936f2269466e3be.yaml similarity index 100% rename from releasenotes/notes/fix-cuStateVec_enable-0936f2269466e3be.yaml rename to releasenotes/notes/0.13/fix-cuStateVec_enable-0936f2269466e3be.yaml diff --git a/releasenotes/notes/fix-excitation-population-6af281a61f659dda.yaml b/releasenotes/notes/0.13/fix-excitation-population-6af281a61f659dda.yaml similarity index 100% rename from releasenotes/notes/fix-excitation-population-6af281a61f659dda.yaml rename to releasenotes/notes/0.13/fix-excitation-population-6af281a61f659dda.yaml diff --git a/releasenotes/notes/fix-none-handling-in-noise-model-34fcc9a3e3cbdf6f.yaml b/releasenotes/notes/0.13/fix-none-handling-in-noise-model-34fcc9a3e3cbdf6f.yaml similarity index 100% rename from releasenotes/notes/fix-none-handling-in-noise-model-34fcc9a3e3cbdf6f.yaml rename to releasenotes/notes/0.13/fix-none-handling-in-noise-model-34fcc9a3e3cbdf6f.yaml diff --git a/releasenotes/notes/fix-none-t2-handling-in-noise-model-5b712adf3569eccd.yaml b/releasenotes/notes/0.13/fix-none-t2-handling-in-noise-model-5b712adf3569eccd.yaml similarity index 100% rename from releasenotes/notes/fix-none-t2-handling-in-noise-model-5b712adf3569eccd.yaml rename to releasenotes/notes/0.13/fix-none-t2-handling-in-noise-model-5b712adf3569eccd.yaml diff --git a/releasenotes/notes/fix-number-qubits-a417ca6afa64264f.yaml b/releasenotes/notes/0.13/fix-number-qubits-a417ca6afa64264f.yaml similarity index 100% rename from releasenotes/notes/fix-number-qubits-a417ca6afa64264f.yaml rename to releasenotes/notes/0.13/fix-number-qubits-a417ca6afa64264f.yaml diff --git a/releasenotes/notes/fix_aer_state_initialize_api-0c2c237a606648ef.yaml b/releasenotes/notes/0.13/fix_aer_state_initialize_api-0c2c237a606648ef.yaml similarity index 100% rename from releasenotes/notes/fix_aer_state_initialize_api-0c2c237a606648ef.yaml rename to releasenotes/notes/0.13/fix_aer_state_initialize_api-0c2c237a606648ef.yaml diff --git a/releasenotes/notes/fix_cuQuantum_libpath-90d24880cd9a9ea8.yaml b/releasenotes/notes/0.13/fix_cuQuantum_libpath-90d24880cd9a9ea8.yaml similarity index 100% rename from releasenotes/notes/fix_cuQuantum_libpath-90d24880cd9a9ea8.yaml rename to releasenotes/notes/0.13/fix_cuQuantum_libpath-90d24880cd9a9ea8.yaml diff --git a/releasenotes/notes/fix_cuQuantum_static-ad132d742a64a3d5.yaml b/releasenotes/notes/0.13/fix_cuQuantum_static-ad132d742a64a3d5.yaml similarity index 100% rename from releasenotes/notes/fix_cuQuantum_static-ad132d742a64a3d5.yaml rename to releasenotes/notes/0.13/fix_cuQuantum_static-ad132d742a64a3d5.yaml diff --git a/releasenotes/notes/fix_gpu_binary-1b5b162dff76060d.yaml b/releasenotes/notes/0.13/fix_gpu_binary-1b5b162dff76060d.yaml similarity index 100% rename from releasenotes/notes/fix_gpu_binary-1b5b162dff76060d.yaml rename to releasenotes/notes/0.13/fix_gpu_binary-1b5b162dff76060d.yaml diff --git a/releasenotes/notes/fix_matplotlib_dependency-5b8ba26da6a98e3a.yaml b/releasenotes/notes/0.13/fix_matplotlib_dependency-5b8ba26da6a98e3a.yaml similarity index 100% rename from releasenotes/notes/fix_matplotlib_dependency-5b8ba26da6a98e3a.yaml rename to releasenotes/notes/0.13/fix_matplotlib_dependency-5b8ba26da6a98e3a.yaml diff --git a/releasenotes/notes/fix_mpi_procs-68b76c11fe7a6b8e.yaml b/releasenotes/notes/0.13/fix_mpi_procs-68b76c11fe7a6b8e.yaml similarity index 100% rename from releasenotes/notes/fix_mpi_procs-68b76c11fe7a6b8e.yaml rename to releasenotes/notes/0.13/fix_mpi_procs-68b76c11fe7a6b8e.yaml diff --git a/releasenotes/notes/fix_mps_extstabilizer_required_memory-f4fb0aebfeeb68e2.yaml b/releasenotes/notes/0.13/fix_mps_extstabilizer_required_memory-f4fb0aebfeeb68e2.yaml similarity index 100% rename from releasenotes/notes/fix_mps_extstabilizer_required_memory-f4fb0aebfeeb68e2.yaml rename to releasenotes/notes/0.13/fix_mps_extstabilizer_required_memory-f4fb0aebfeeb68e2.yaml diff --git a/releasenotes/notes/fix_omp_nested-a554de2e7fd2a2d6.yaml b/releasenotes/notes/0.13/fix_omp_nested-a554de2e7fd2a2d6.yaml similarity index 100% rename from releasenotes/notes/fix_omp_nested-a554de2e7fd2a2d6.yaml rename to releasenotes/notes/0.13/fix_omp_nested-a554de2e7fd2a2d6.yaml diff --git a/releasenotes/notes/fix_omp_nested_performance-a3d55f3e85366a5b.yaml b/releasenotes/notes/0.13/fix_omp_nested_performance-a3d55f3e85366a5b.yaml similarity index 100% rename from releasenotes/notes/fix_omp_nested_performance-a3d55f3e85366a5b.yaml rename to releasenotes/notes/0.13/fix_omp_nested_performance-a3d55f3e85366a5b.yaml diff --git a/releasenotes/notes/fix_param_binding_for_pram_circuit-50e64efbedaec8fd.yaml b/releasenotes/notes/0.13/fix_param_binding_for_pram_circuit-50e64efbedaec8fd.yaml similarity index 100% rename from releasenotes/notes/fix_param_binding_for_pram_circuit-50e64efbedaec8fd.yaml rename to releasenotes/notes/0.13/fix_param_binding_for_pram_circuit-50e64efbedaec8fd.yaml diff --git a/releasenotes/notes/fix_parameter_indexing-f29f19568270d002.yaml b/releasenotes/notes/0.13/fix_parameter_indexing-f29f19568270d002.yaml similarity index 100% rename from releasenotes/notes/fix_parameter_indexing-f29f19568270d002.yaml rename to releasenotes/notes/0.13/fix_parameter_indexing-f29f19568270d002.yaml diff --git a/releasenotes/notes/fix_qobj_run-8ea657a93ce9acd2.yaml b/releasenotes/notes/0.13/fix_qobj_run-8ea657a93ce9acd2.yaml similarity index 100% rename from releasenotes/notes/fix_qobj_run-8ea657a93ce9acd2.yaml rename to releasenotes/notes/0.13/fix_qobj_run-8ea657a93ce9acd2.yaml diff --git a/releasenotes/notes/fix_required_memory_mb-7aeafa0fe553b85a.yaml b/releasenotes/notes/0.13/fix_required_memory_mb-7aeafa0fe553b85a.yaml similarity index 100% rename from releasenotes/notes/fix_required_memory_mb-7aeafa0fe553b85a.yaml rename to releasenotes/notes/0.13/fix_required_memory_mb-7aeafa0fe553b85a.yaml diff --git a/releasenotes/notes/fix_stabilizer_measure-49f9b4261dfaa4d3.yaml b/releasenotes/notes/0.13/fix_stabilizer_measure-49f9b4261dfaa4d3.yaml similarity index 100% rename from releasenotes/notes/fix_stabilizer_measure-49f9b4261dfaa4d3.yaml rename to releasenotes/notes/0.13/fix_stabilizer_measure-49f9b4261dfaa4d3.yaml diff --git a/releasenotes/notes/implicit_cast_for_arguments-a3c671db2fff6f17.yaml b/releasenotes/notes/0.13/implicit_cast_for_arguments-a3c671db2fff6f17.yaml similarity index 100% rename from releasenotes/notes/implicit_cast_for_arguments-a3c671db2fff6f17.yaml rename to releasenotes/notes/0.13/implicit_cast_for_arguments-a3c671db2fff6f17.yaml diff --git a/releasenotes/notes/latest-vc++-compilation-fixes-555601315e7e821b.yaml b/releasenotes/notes/0.13/latest-vc++-compilation-fixes-555601315e7e821b.yaml similarity index 100% rename from releasenotes/notes/latest-vc++-compilation-fixes-555601315e7e821b.yaml rename to releasenotes/notes/0.13/latest-vc++-compilation-fixes-555601315e7e821b.yaml diff --git a/releasenotes/notes/primitives-grouping-index-bug-56f69afbdc3e86a0.yaml b/releasenotes/notes/0.13/primitives-grouping-index-bug-56f69afbdc3e86a0.yaml similarity index 100% rename from releasenotes/notes/primitives-grouping-index-bug-56f69afbdc3e86a0.yaml rename to releasenotes/notes/0.13/primitives-grouping-index-bug-56f69afbdc3e86a0.yaml diff --git a/releasenotes/notes/quantum_error_from_dict-8188a864109edd67.yaml b/releasenotes/notes/0.13/quantum_error_from_dict-8188a864109edd67.yaml similarity index 100% rename from releasenotes/notes/quantum_error_from_dict-8188a864109edd67.yaml rename to releasenotes/notes/0.13/quantum_error_from_dict-8188a864109edd67.yaml diff --git a/releasenotes/notes/0.13/release_0.13.0-456c0b054ea30a1b.yaml b/releasenotes/notes/0.13/release_0.13.0-456c0b054ea30a1b.yaml new file mode 100644 index 0000000000..702a966853 --- /dev/null +++ b/releasenotes/notes/0.13/release_0.13.0-456c0b054ea30a1b.yaml @@ -0,0 +1,22 @@ +--- +prelude: > + Here are highlights of the Aer 0.13.0 release: + + Aer's backend is now backendV2. + + Introducing shot-branching optimization that accelerates dynamic circuits + simulations. By using `shot_branching_enable=True`, multi-shots + simulation starts with single state and state will be branched with + attached shots dynamically. This option is available for `statevector`, + `density_matrix` and `tensor_network` methods. + + Adding support for classical expressions used for branch operations. + + Introducing runtime parameter binding that accelerates parameterized + circuits simulations on GPU. With `runtime_parameter_bind_enable=True` + and `batched_shots_gpu=True`, this optimization will be enabled on GPU. + This optimization can be used with Aer primitives. + + Fix dynamic link library path for GPU binary distributions. + + Now Aer supports AMD's GPUs based on ROCm (building from source code only) diff --git a/releasenotes/notes/remove_aer_circuit_from_metadata-e4fe09029c1a3a3c.yaml b/releasenotes/notes/0.13/remove_aer_circuit_from_metadata-e4fe09029c1a3a3c.yaml similarity index 100% rename from releasenotes/notes/remove_aer_circuit_from_metadata-e4fe09029c1a3a3c.yaml rename to releasenotes/notes/0.13/remove_aer_circuit_from_metadata-e4fe09029c1a3a3c.yaml diff --git a/releasenotes/notes/remove_pulse_simulator-f8de2f6d380f446a.yaml b/releasenotes/notes/0.13/remove_pulse_simulator-f8de2f6d380f446a.yaml similarity index 100% rename from releasenotes/notes/remove_pulse_simulator-f8de2f6d380f446a.yaml rename to releasenotes/notes/0.13/remove_pulse_simulator-f8de2f6d380f446a.yaml diff --git a/releasenotes/notes/renew_gpu_binaries-2cf3eba0853b8407.yaml b/releasenotes/notes/0.13/renew_gpu_binaries-2cf3eba0853b8407.yaml similarity index 100% rename from releasenotes/notes/renew_gpu_binaries-2cf3eba0853b8407.yaml rename to releasenotes/notes/0.13/renew_gpu_binaries-2cf3eba0853b8407.yaml diff --git a/releasenotes/notes/runtime_parameter_binding-d2c57255f02729a1.yaml b/releasenotes/notes/0.13/runtime_parameter_binding-d2c57255f02729a1.yaml similarity index 100% rename from releasenotes/notes/runtime_parameter_binding-d2c57255f02729a1.yaml rename to releasenotes/notes/0.13/runtime_parameter_binding-d2c57255f02729a1.yaml diff --git a/releasenotes/notes/sampler-performance-81e1649ec4657aad.yaml b/releasenotes/notes/0.13/sampler-performance-81e1649ec4657aad.yaml similarity index 100% rename from releasenotes/notes/sampler-performance-81e1649ec4657aad.yaml rename to releasenotes/notes/0.13/sampler-performance-81e1649ec4657aad.yaml diff --git a/releasenotes/notes/save_statevector_for_qasm3_circ-642ade99af3ff0d2.yaml b/releasenotes/notes/0.13/save_statevector_for_qasm3_circ-642ade99af3ff0d2.yaml similarity index 100% rename from releasenotes/notes/save_statevector_for_qasm3_circ-642ade99af3ff0d2.yaml rename to releasenotes/notes/0.13/save_statevector_for_qasm3_circ-642ade99af3ff0d2.yaml diff --git a/releasenotes/notes/skip-cuda-requirements-927ddce79b9e7108.yaml b/releasenotes/notes/0.13/skip-cuda-requirements-927ddce79b9e7108.yaml similarity index 100% rename from releasenotes/notes/skip-cuda-requirements-927ddce79b9e7108.yaml rename to releasenotes/notes/0.13/skip-cuda-requirements-927ddce79b9e7108.yaml diff --git a/releasenotes/notes/stabilizer_rotation-8ce2effd9578ee0a.yaml b/releasenotes/notes/0.13/stabilizer_rotation-8ce2effd9578ee0a.yaml similarity index 100% rename from releasenotes/notes/stabilizer_rotation-8ce2effd9578ee0a.yaml rename to releasenotes/notes/0.13/stabilizer_rotation-8ce2effd9578ee0a.yaml diff --git a/releasenotes/notes/support_backend_v2-9eeb4690199b01d1.yaml b/releasenotes/notes/0.13/support_backend_v2-9eeb4690199b01d1.yaml similarity index 100% rename from releasenotes/notes/support_backend_v2-9eeb4690199b01d1.yaml rename to releasenotes/notes/0.13/support_backend_v2-9eeb4690199b01d1.yaml diff --git a/releasenotes/notes/support_c_if_reset-1f0b8e84948fb3fc.yaml b/releasenotes/notes/0.13/support_c_if_reset-1f0b8e84948fb3fc.yaml similarity index 100% rename from releasenotes/notes/support_c_if_reset-1f0b8e84948fb3fc.yaml rename to releasenotes/notes/0.13/support_c_if_reset-1f0b8e84948fb3fc.yaml diff --git a/releasenotes/notes/support_classical_expr-dd621e5c0fd23a15.yaml b/releasenotes/notes/0.13/support_classical_expr-dd621e5c0fd23a15.yaml similarity index 100% rename from releasenotes/notes/support_classical_expr-dd621e5c0fd23a15.yaml rename to releasenotes/notes/0.13/support_classical_expr-dd621e5c0fd23a15.yaml diff --git a/releasenotes/notes/support_int_initialize-8491979c4a003908.yaml b/releasenotes/notes/0.13/support_int_initialize-8491979c4a003908.yaml similarity index 100% rename from releasenotes/notes/support_int_initialize-8491979c4a003908.yaml rename to releasenotes/notes/0.13/support_int_initialize-8491979c4a003908.yaml diff --git a/releasenotes/notes/support_param_for_global_phase-704a97129e7bdbaa.yaml b/releasenotes/notes/0.13/support_param_for_global_phase-704a97129e7bdbaa.yaml similarity index 100% rename from releasenotes/notes/support_param_for_global_phase-704a97129e7bdbaa.yaml rename to releasenotes/notes/0.13/support_param_for_global_phase-704a97129e7bdbaa.yaml diff --git a/releasenotes/notes/support_switch-41603d87cb8358fb.yaml b/releasenotes/notes/0.13/support_switch-41603d87cb8358fb.yaml similarity index 100% rename from releasenotes/notes/support_switch-41603d87cb8358fb.yaml rename to releasenotes/notes/0.13/support_switch-41603d87cb8358fb.yaml diff --git a/releasenotes/notes/support_switch_transpilation-67e16241b94faa86.yaml b/releasenotes/notes/0.13/support_switch_transpilation-67e16241b94faa86.yaml similarity index 100% rename from releasenotes/notes/support_switch_transpilation-67e16241b94faa86.yaml rename to releasenotes/notes/0.13/support_switch_transpilation-67e16241b94faa86.yaml diff --git a/releasenotes/notes/support_u3_runtime_api-42f013f111c319ff.yaml b/releasenotes/notes/0.13/support_u3_runtime_api-42f013f111c319ff.yaml similarity index 100% rename from releasenotes/notes/support_u3_runtime_api-42f013f111c319ff.yaml rename to releasenotes/notes/0.13/support_u3_runtime_api-42f013f111c319ff.yaml diff --git a/releasenotes/notes/use_omp_set_max_active_levels-7e6c1d301c4434a6.yaml b/releasenotes/notes/0.13/use_omp_set_max_active_levels-7e6c1d301c4434a6.yaml similarity index 100% rename from releasenotes/notes/use_omp_set_max_active_levels-7e6c1d301c4434a6.yaml rename to releasenotes/notes/0.13/use_omp_set_max_active_levels-7e6c1d301c4434a6.yaml diff --git a/setup.py b/setup.py index 03e54fa037..d2a67e87f3 100644 --- a/setup.py +++ b/setup.py @@ -22,7 +22,7 @@ extras_requirements = {"dask": ["dask", "distributed"]} requirements = [ - "qiskit-terra>=0.21.0", + "qiskit>=0.44.0", "numpy>=1.16.3", "scipy>=1.0", ] @@ -64,6 +64,7 @@ else: requirements_cuda = [ "nvidia-cuda-runtime-cu12>=12.1.105", + "nvidia-nvjitlink-cu12", "nvidia-cublas-cu12>=12.1.3.1", "nvidia-cusolver-cu12>=11.4.5.107", "nvidia-cusparse-cu12>=12.1.0.106", diff --git a/test/asv.linux.conf.json b/test/asv.linux.conf.json index 279a5b1773..c5c72ec389 100644 --- a/test/asv.linux.conf.json +++ b/test/asv.linux.conf.json @@ -33,18 +33,18 @@ "install_command": [ "python -c \"import shutil; shutil.rmtree('{build_dir}/qiskit', True)\"", "python -c \"import shutil; shutil.rmtree('{build_dir}/qiskit_aer.egg-info', True)\"", - "pip install git+https://github.com/Qiskit/qiskit-terra", + "pip install git+https://github.com/Qiskit/qiskit", "pip install git+https://github.com/Qiskit/qiskit-aqua", "python -mpip install {wheel_file}" ], "uninstall_command": [ - "return-code=any python -mpip uninstall -y qiskit-terra", + "return-code=any python -mpip uninstall -y qiskit", "return-code=any python -mpip uninstall -y qiskit-aqua", "return-code=any python -mpip uninstall -y {project}" ], "build_command": [ "python -mpip install -U scikit-build", - "pip install git+https://github.com/Qiskit/qiskit-terra", + "pip install git+https://github.com/Qiskit/qiskit", "pip install git+https://github.com/Qiskit/qiskit-aqua", "pip install pyscf", "pip install matplotlib", @@ -101,7 +101,7 @@ // }, //"matrix": { - // "pip+qiskit-terra": [""], + // "pip+qiskit": [""], //}, // Combinations of libraries/python versions can be excluded/included diff --git a/test/asv.linux.cuda.conf.json b/test/asv.linux.cuda.conf.json index d034764dcd..317c8842c7 100644 --- a/test/asv.linux.cuda.conf.json +++ b/test/asv.linux.cuda.conf.json @@ -33,18 +33,18 @@ "install_command": [ "python -c \"import shutil; shutil.rmtree('{build_dir}/qiskit', True)\"", "python -c \"import shutil; shutil.rmtree('{build_dir}/qiskit_aer.egg-info', True)\"", - "pip install git+https://github.com/Qiskit/qiskit-terra", + "pip install git+https://github.com/Qiskit/qiskit", "pip install git+https://github.com/Qiskit/qiskit-aqua", "python -mpip install {wheel_file}" ], "uninstall_command": [ - "return-code=any python -mpip uninstall -y qiskit-terra", + "return-code=any python -mpip uninstall -y qiskit", "return-code=any python -mpip uninstall -y qiskit-aqua", "return-code=any python -mpip uninstall -y {project}" ], "build_command": [ "python -mpip install -U scikit-build", - "pip install git+https://github.com/Qiskit/qiskit-terra", + "pip install git+https://github.com/Qiskit/qiskit", "pip install git+https://github.com/Qiskit/qiskit-aqua", "pip install pyscf", "pip install matplotlib", @@ -101,7 +101,7 @@ // }, //"matrix": { - // "pip+qiskit-terra": [""], + // "pip+qiskit": [""], //}, // Combinations of libraries/python versions can be excluded/included