Skip to content

Commit a9e6bf2

Browse files
authored
Merge pull request #4 from QuantumApplicationLab/hadamard_batch
Hadamard batch
2 parents 2888ed7 + ef5b9e6 commit a9e6bf2

54 files changed

Lines changed: 4144 additions & 890 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/dependabot.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"

.github/workflows/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ This workflow checks that the code is formatted properly and follows the style g
1010

1111
This workflow installs the latest version of tox and runs [the current repository's tests](/tests/#test-py-environments) under each supported Python version on Linux and under a single Python version on macOS and Windows. This is the primary testing workflow. It runs for all code changes and additionally once per day, to ensure tests continue to pass as new versions of dependencies are released.
1212

13-
## Development version tests (`test_development_versions.yml`)
13+
<!-- ## Development version tests (`test_development_versions.yml`)
1414
1515
This workflow installs tox and modifies `requirements.txt` to use the _development_ versions of all Qiskit packages. For all other packages, the latest version is installed. This workflow runs on two versions of Python: the minimum supported version and the maximum supported version. Its purpose is to identify as soon as possible (i.e., before a Qiskit release) when changes in Qiskit will break the current repository. This workflow runs for all code changes, as well as on a timer once per day.
1616
1717
## Minimum version tests (`test_minimum_versions.yml`)
1818
1919
This workflow first installs the minimum supported tox version (the `minversion` specified in [`tox.ini`](/tox.ini)) and then installs the _minimum_ compatible version of each package listed in `requirements.txt` and `requirements-dev.txt`. The purpose of this workflow is to make sure the minimum version specifiers in these files are accurate, i.e., that the tests actually pass with these versions. This workflow uses a single Python version, typically the oldest supported version, as the minimum supported versions of each package may not be compatible with the most recent Python release.
2020
21-
Under the hood, this workflow uses a regular expression to change each `>=` and `~=` specifier in the requirements files to instead be `==`, as pip [does not support](https://github.com/pypa/pip/issues/8085) resolving the minimum versions of packages directly. Unfortunately, this means that the workflow will only install the minimum version of a package if it is _explicitly_ listed in one of the requirements files with a minimum version. For instance, a requirements file that simply lists `qiskit>=0.34` will actually install `qiskit==0.34` (i.e., the minimum version of the _meta_-package) along with the latest versions of `qiskit-terra` and `qiskit-aer`, unless their minimum versions are specified explicitly as well.
21+
Under the hood, this workflow uses a regular expression to change each `>=` and `~=` specifier in the requirements files to instead be `==`, as pip [does not support](https://github.com/pypa/pip/issues/8085) resolving the minimum versions of packages directly. Unfortunately, this means that the workflow will only install the minimum version of a package if it is _explicitly_ listed in one of the requirements files with a minimum version. For instance, a requirements file that simply lists `qiskit>=0.34` will actually install `qiskit==0.34` (i.e., the minimum version of the _meta_-package) along with the latest versions of `qiskit-terra` and `qiskit-aer`, unless their minimum versions are specified explicitly as well. -->
2222

2323
## Code coverage (`coverage.yml`)
2424

.github/workflows/citation.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
timeout-minutes: 20
1515
steps:
16-
- uses: actions/checkout@v2
16+
- uses: actions/checkout@v4
1717
- name: Check for non-ASCII characters
1818
run: |
1919
# Fail immediately if there are any non-ASCII characters in
@@ -63,7 +63,7 @@ jobs:
6363
fi
6464
- name: Upload PDF
6565
if: always()
66-
uses: actions/upload-artifact@v2
66+
uses: actions/upload-artifact@v3
6767
with:
6868
name: preview.pdf
6969
path: preview.pdf

.github/workflows/coverage.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ jobs:
1515
runs-on: ubuntu-latest
1616
timeout-minutes: 60
1717
steps:
18-
- uses: actions/checkout@v2
18+
- uses: actions/checkout@v4
1919
- name: Set up Python 3.9
20-
uses: actions/setup-python@v2
20+
uses: actions/setup-python@v4
2121
with:
2222
python-version: '3.9'
2323
- name: Install tox
@@ -29,7 +29,8 @@ jobs:
2929
- name: Convert to lcov
3030
run: coveragepy-lcov --output_file_path coveralls.info
3131
- name: Upload report to Coveralls
32-
uses: coverallsapp/github-action@master
32+
uses: coverallsapp/github-action@v2
3333
with:
3434
github-token: ${{ secrets.GITHUB_TOKEN }}
35-
path-to-lcov: coveralls.info
35+
file: coveralls.info
36+
format: lcov

.github/workflows/docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ jobs:
1616
runs-on: ubuntu-latest
1717
timeout-minutes: 60
1818
steps:
19-
- uses: actions/checkout@v2
20-
- uses: actions/setup-python@v2
19+
- uses: actions/checkout@v4
20+
- uses: actions/setup-python@v4
2121
with:
2222
python-version: '3.9'
2323
- name: Install dependencies

.github/workflows/ecosystem.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ jobs:
1515
runs-on: ubuntu-latest
1616
timeout-minutes: 30
1717
steps:
18-
- uses: actions/checkout@v2
18+
- uses: actions/checkout@v4
1919
- name: Set up Python 3.9
20-
uses: actions/setup-python@v2
20+
uses: actions/setup-python@v4
2121
with:
2222
python-version: '3.9'
2323
- name: Install tox

.github/workflows/lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ jobs:
1515
runs-on: ubuntu-latest
1616
timeout-minutes: 30
1717
steps:
18-
- uses: actions/checkout@v2
18+
- uses: actions/checkout@v4
1919
- name: Set up Python 3.9
20-
uses: actions/setup-python@v2
20+
uses: actions/setup-python@v4
2121
with:
2222
python-version: '3.9'
2323
- name: Install tox

.github/workflows_wip/test_latest_versions.yml renamed to .github/workflows/test_latest_versions.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ jobs:
2727
- os: windows-latest
2828
python-version: 3.8
2929
steps:
30-
- uses: actions/checkout@v2
30+
- uses: actions/checkout@v4
3131
- name: Set up Python ${{ matrix.python-version }}
32-
uses: actions/setup-python@v1
32+
uses: actions/setup-python@v4
3333
with:
3434
python-version: ${{ matrix.python-version }}
3535
- name: Install dependencies

.github/workflows/test_minimum_versions.yml

Lines changed: 0 additions & 47 deletions
This file was deleted.

.github/workflows_wip/test_development_versions.yml

Lines changed: 0 additions & 50 deletions
This file was deleted.

0 commit comments

Comments
 (0)