Skip to content

new entangling gate #94

new entangling gate

new entangling gate #94

Workflow file for this run

name: Python Package using Conda
on: [push, pull_request]
jobs:
build-linux:
runs-on: ubuntu-latest
strategy:
max-parallel: 5
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
lfs: true
- name: Fetch LFS for waveform data
run: |
git lfs pull
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Add conda to system path
run: |
# $CONDA is an environment variable pointing to the root of the miniconda directory
echo $CONDA/bin >> $GITHUB_PATH
#mkdir ~/.cache/conda
touch ~/.condarc
echo "pkgs_dirs:" >> ~/.condarc
echo " - ~/.cache/conda" >> ~/.condarc
- name: pip cache
uses: actions/cache@v2
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: conda cache
uses: actions/cache@v2
with:
path: ~/.cache/conda
key: ${{ runner.os }}-conda-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install dependencies
run: |
conda install -yq numpy sqlalchemy jupyter scipy networkx
pip install git+https://github.com/BBN-Q/bbndb.git
pip install bqplot
pip install pygsti
pip install mkdocs
pip install mkdocs-material
pip install mkdocs-jupyter
- name: Test with pytest
run: |
pip install -e .
python -m unittest discover -v
- name: Build and deploy documentation
uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.ref }}
run: |
git pull
mkdocs gh-deploy
cp -r site QGL_documentation
- name: Documentation Deploy
uses: actions/upload-artifact@v4
with:
path: QGL_documentation