-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #262 from entropicalabs/dev
Pushing version v0.2.0 including separately installable plugins and other features
- Loading branch information
Showing
303 changed files
with
12,796 additions
and
6,864 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
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
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
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
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,62 @@ | ||
name: Test the PyPi pre-release install weekly | ||
|
||
on: | ||
# schedule: | ||
# - cron: "0 0 * * 1,3,5" #“At 00:00 on Monday, Wednesday, and Friday.” https://crontab.guru/#0_0_*_*_1,3,5 | ||
workflow_dispatch: | ||
|
||
jobs: | ||
test_pypi: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest] | ||
python: ['3.8', '3.9', '3.10', '3.11'] | ||
# The type of runner that the job will run on | ||
runs-on: ${{ matrix.os }} | ||
|
||
# Define job steps | ||
steps: | ||
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ matrix.python }} | ||
|
||
- name: Check-out repository | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Install OpenQAOA-Core release candidate | ||
run: | | ||
pip install --pre openqaoa-core | ||
python -c 'from openqaoa._version import __version__; print(__version__)' | ||
- name: Install OpenQAOA-Qiskit release candidate | ||
run: | | ||
pip install --pre openqaoa-qiskit | ||
python -c 'from openqaoa._version import __version__; print(__version__)' | ||
- name: Install OpenQAOA-Pyquil release candidate | ||
run: | | ||
pip install --pre openqaoa-pyquil | ||
python -c 'from openqaoa._version import __version__; print(__version__)' | ||
- name: Install OpenQAOA-Braket release candidate | ||
run: | | ||
pip install --pre openqaoa-braket | ||
python -c 'from openqaoa._version import __version__; print(__version__)' | ||
- name: Install OpenQAOA-Azure release candidate | ||
run: | | ||
pip install --pre openqaoa-azure | ||
python -c 'from openqaoa._version import __version__; print(__version__)' | ||
- name: Install OpenQAOA (Full) release candidate | ||
run: | | ||
pip install --pre openqaoa | ||
python -c 'from openqaoa._version import __version__; print(__version__)' |
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
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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
# The dockerfile for OpenQAOA braket jobs | ||
FROM 292282985366.dkr.ecr.us-east-1.amazonaws.com/amazon-braket-pytorch-jobs:1.9.1-gpu-py38-cu111-ubuntu20.04 | ||
FROM 292282985366.dkr.ecr.us-east-1.amazonaws.com/amazon-braket-base-jobs:1.0-cpu-py39-ubuntu22.04 | ||
|
||
RUN mkdir -p /openqaoa | ||
|
||
ADD ./ /openqaoa/ | ||
|
||
RUN pip3 install /openqaoa/. | ||
RUN cd openqaoa && make dev-install |
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,2 @@ | ||
include README.md | ||
include _version.py |
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,56 @@ | ||
#This file stores instructions to install openqaoa in developer mode. | ||
#Currently can only install all packages together for developer mode. | ||
|
||
.PHONY: local-install | ||
local-install: | ||
pip install ./src/openqaoa-core | ||
pip install ./src/openqaoa-qiskit | ||
pip install ./src/openqaoa-pyquil | ||
pip install ./src/openqaoa-braket | ||
pip install ./src/openqaoa-azure | ||
pip install . | ||
|
||
.PHONY: dev-install | ||
dev-install: | ||
pip install -e ./src/openqaoa-core | ||
pip install -e ./src/openqaoa-qiskit | ||
pip install -e ./src/openqaoa-pyquil | ||
pip install -e ./src/openqaoa-braket | ||
pip install -e ./src/openqaoa-azure | ||
pip install -e . | ||
|
||
.PHONY: dev-install-tests | ||
dev-install-tests: | ||
pip install -e ./src/openqaoa-core[tests] | ||
pip install -e ./src/openqaoa-qiskit | ||
pip install -e ./src/openqaoa-pyquil | ||
pip install -e ./src/openqaoa-braket | ||
pip install -e ./src/openqaoa-azure | ||
pip install -e . | ||
|
||
.PHONY: dev-install-docs | ||
dev-install-docs: | ||
pip install -e ./src/openqaoa-core[docs] | ||
pip install -e ./src/openqaoa-qiskit | ||
pip install -e ./src/openqaoa-pyquil | ||
pip install -e ./src/openqaoa-braket | ||
pip install -e ./src/openqaoa-azure | ||
pip install -e . | ||
|
||
.PHONY: dev-install-all | ||
dev-install-all: | ||
pip install -e ./src/openqaoa-core[all] | ||
pip install -e ./src/openqaoa-qiskit | ||
pip install -e ./src/openqaoa-pyquil | ||
pip install -e ./src/openqaoa-braket | ||
pip install -e ./src/openqaoa-azure | ||
pip install -e . | ||
|
||
.PHONY: dev-uninstall | ||
dev-uninstall: | ||
pip uninstall openqaoa -y | ||
pip uninstall openqaoa-core -y | ||
pip uninstall openqaoa-qiskit -y | ||
pip uninstall openqaoa-pyquil -y | ||
pip uninstall openqaoa-braket -y | ||
pip uninstall openqaoa-azure -y |
Oops, something went wrong.