-
Notifications
You must be signed in to change notification settings - Fork 335
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
1 parent
640442c
commit c62aa57
Showing
125 changed files
with
3,260 additions
and
619 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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# This file defines the persons who will be assigned as reviewers for PRs that | ||
# modify particular files in the repo. The PR can be merged when approved by at | ||
# least one codeowner. However, all Qiskit team members can (and should!) review the PRs. | ||
|
||
# Global rule, unless specialized by a later one | ||
* @stefan-woerner @pbark @manoelmarques @woodsp-ibm | ||
|
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,29 @@ | ||
--- | ||
name: 🐛 Bug report | ||
about: Create a report to help us improve 🤔. | ||
--- | ||
|
||
<!-- ⚠️ If you do not respect this template, your issue will be closed --> | ||
<!-- ⚠️ Make sure to browse the opened and closed issues --> | ||
|
||
### Information | ||
|
||
- **Qiskit Machine Learning version**: | ||
- **Python version**: | ||
- **Operating system**: | ||
|
||
### What is the current behavior? | ||
|
||
|
||
|
||
### Steps to reproduce the problem | ||
|
||
|
||
|
||
### What is the expected behavior? | ||
|
||
|
||
|
||
### Suggested solutions | ||
|
||
|
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,11 @@ | ||
--- | ||
name: 💅 Enhancement request | ||
about: Suggest an improvement for this project 🆒! | ||
--- | ||
|
||
<!-- ⚠️ If you do not respect this template, your issue will be closed --> | ||
<!-- ⚠️ Make sure to browse the opened and closed issues to confirm this idea does not exist. --> | ||
|
||
### What is the expected enhancement? | ||
|
||
|
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,11 @@ | ||
--- | ||
name: 🚀 Feature request | ||
about: Suggest an idea for this project 💡! | ||
--- | ||
|
||
<!-- ⚠️ If you do not respect this template, your issue will be closed --> | ||
<!-- ⚠️ Make sure to browse the opened and closed issues to confirm this idea does not exist. --> | ||
|
||
### What is the expected behavior? | ||
|
||
|
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,18 @@ | ||
<!-- | ||
⚠️ If you do not respect this template, your pull request will be closed. | ||
⚠️ Your pull request title should be short detailed and understandable for all. | ||
⚠️ Also, please add it in the CHANGELOG file under Unreleased section. | ||
⚠️ If your pull request fixes an open issue, please link to the issue. | ||
✅ I have added the tests to cover my changes. | ||
✅ I have updated the documentation accordingly. | ||
✅ I have read the CONTRIBUTING document. | ||
--> | ||
|
||
### Summary | ||
|
||
|
||
|
||
### Details and comments | ||
|
||
|
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,25 @@ | ||
# This code is part of Qiskit. | ||
# | ||
# (C) Copyright IBM 2021. | ||
# | ||
# This code is licensed under the Apache License, Version 2.0. You may | ||
# obtain a copy of this license in the LICENSE.txt file in the root directory | ||
# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. | ||
# | ||
# Any modifications or derivative works of this code must retain this | ||
# copyright notice, and modified files need to carry a notice indicating | ||
# that they have been altered from the originals. | ||
|
||
name: 'Install Libraries' | ||
description: 'Installs Python and Binary Libraries' | ||
inputs: | ||
python-version: | ||
description: 'Python version' | ||
required: true | ||
runs: | ||
using: "composite" | ||
steps: | ||
- run : | | ||
pip install -U pip | ||
pip install -U setuptools wheel | ||
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,22 @@ | ||
# This code is part of Qiskit. | ||
# | ||
# (C) Copyright IBM 2021. | ||
# | ||
# This code is licensed under the Apache License, Version 2.0. You may | ||
# obtain a copy of this license in the LICENSE.txt file in the root directory | ||
# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. | ||
# | ||
# Any modifications or derivative works of this code must retain this | ||
# copyright notice, and modified files need to carry a notice indicating | ||
# that they have been altered from the originals. | ||
|
||
name: 'Install Qiskit Machine Learning' | ||
description: 'Installs Qiskit Machine Learning on developer mode' | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- run : | | ||
pip install -e .[torch,cvx] | ||
pip install -U -c constraints.txt -r requirements-dev.txt | ||
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,22 @@ | ||
# This code is part of Qiskit. | ||
# | ||
# (C) Copyright IBM 2021. | ||
# | ||
# This code is licensed under the Apache License, Version 2.0. You may | ||
# obtain a copy of this license in the LICENSE.txt file in the root directory | ||
# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. | ||
# | ||
# Any modifications or derivative works of this code must retain this | ||
# copyright notice, and modified files need to carry a notice indicating | ||
# that they have been altered from the originals. | ||
|
||
name: 'Install Qiskit Machine Learning Master Dependencies' | ||
description: 'Installs Python dependencies from Master' | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- run : | | ||
pip install https://github.com/Qiskit/qiskit-terra/archive/master.zip | ||
pip install https://github.com/Qiskit/qiskit-aer/archive/master.zip | ||
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,27 @@ | ||
# This code is part of Qiskit. | ||
# | ||
# (C) Copyright IBM 2021. | ||
# | ||
# This code is licensed under the Apache License, Version 2.0. You may | ||
# obtain a copy of this license in the LICENSE.txt file in the root directory | ||
# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. | ||
# | ||
# Any modifications or derivative works of this code must retain this | ||
# copyright notice, and modified files need to carry a notice indicating | ||
# that they have been altered from the originals. | ||
|
||
name: 'Run Unit Tests' | ||
description: 'Run Unit Tests' | ||
inputs: | ||
python-version: | ||
description: 'Python version' | ||
required: true | ||
runs: | ||
using: "composite" | ||
steps: | ||
- run: | | ||
if [ "${{ inputs.python-version }}" == "3.7" ]; then | ||
export PYTHON="coverage3 run --source qiskit_machine_learning --parallel-mode" | ||
fi | ||
stestr --test-path test run 2> >(tee /dev/stderr out.txt > /dev/null) | ||
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,39 @@ | ||
# This code is part of Qiskit. | ||
# | ||
# (C) Copyright IBM 2021. | ||
# | ||
# This code is licensed under the Apache License, Version 2.0. You may | ||
# obtain a copy of this license in the LICENSE.txt file in the root directory | ||
# of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. | ||
# | ||
# Any modifications or derivative works of this code must retain this | ||
# copyright notice, and modified files need to carry a notice indicating | ||
# that they have been altered from the originals. | ||
|
||
name: Deployment | ||
|
||
on: | ||
push: | ||
tags: | ||
- '*' | ||
|
||
jobs: | ||
Deploy: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: [3.7] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Deploy to Pypi | ||
env: | ||
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }} | ||
TWINE_USERNAME: qiskit | ||
run : | | ||
pip install -U twine pip setuptools virtualenv wheel | ||
python3 setup.py sdist bdist_wheel | ||
twine upload dist/qiskit* | ||
shell: bash |
Oops, something went wrong.