-
Notifications
You must be signed in to change notification settings - Fork 368
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
130 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -280,3 +280,4 @@ jobs: | |
rm -rf qiskit_aer | ||
stestr run --slowest | ||
shell: bash | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
name: Unit Tests for latest Qiskit | ||
on: | ||
schedule: | ||
- cron: '0 5 * * *' | ||
concurrency: | ||
group: ${{ github.repository }}-${{ github.ref }}-${{ github.head_ref }}-${{ github.workflow }} | ||
cancel-in-progress: true | ||
jobs: | ||
unit-tests-latest-qiskit: | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 60 | ||
env: | ||
AER_THRUST_BACKEND: OMP | ||
QISKIT_TEST_CAPTURE_STREAMS: 1 | ||
# Needed to suppress a warning in jupyter-core 5.x by eagerly migrating to | ||
# a new internal interface that will be the default in jupyter-core 6.x. | ||
# This variable should become redundant on release of jupyter-core 6. | ||
JUPYTER_PLATFORM_DIRS: 1 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python 3.11 | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.11 | ||
- name: Pip cache | ||
uses: actions/cache@v2 | ||
with: | ||
path: ~/.cache/pip | ||
key: ${{ runner.os }}-${{ matrix.python-version}}-pip-test-${{ hashFiles('setup.py','requirements-dev.txt','constraints.txt') }} | ||
restore-keys: | | ||
${{ runner.os }}-${{ matrix.python-version}}-pip-test- | ||
${{ runner.os }}-${{ matrix.python-version}}-pip- | ||
${{ runner.os }}-${{ matrix.python-version}}- | ||
- name: Install Deps | ||
run: | | ||
python -m pip install -U -c constraints.txt -r requirements-dev.txt wheel | ||
pip install -U git+https://github.com/Qiskit/qiskit.git | ||
- name: Install openblas | ||
run: | | ||
set -e | ||
sudo apt-get update | ||
sudo apt-get install -y libopenblas-dev | ||
shell: bash | ||
- name: Install Aer | ||
run: | | ||
python -m pip install -U . | ||
- name: Run Tests | ||
run: | | ||
set -e | ||
pip check | ||
rm -rf qiskit_aer | ||
stestr run --slowest | ||
shell: bash | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
releasenotes/notes/support_switch_transpilation-67e16241b94faa86.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
issues: | ||
- | | ||
Though Aer supports ``switch`` for several methods, transpilation of circuits with ``switch`` has been failed. | ||
This commit enables such transpilation by adding ``switch_case`` operations into basis gates. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.