Skip to content

Added serialisation to example #111

Added serialisation to example

Added serialisation to example #111

Workflow file for this run

name: ci_tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
python_check:
name: unittests_check-${{ matrix.combinations.runs_on }}
runs-on: ${{ matrix.combinations.runs_on }}
strategy:
matrix:
combinations: [
{ runs_on: "ubuntu-latest", rust: "x86_64-unknown-linux-gnu" },
]
python: [
{py: '3.8', interpreter: "python3.8"},
{py: '3.9', interpreter: "python3.9"},
{py: '3.10', interpreter: "python3.10"},
{py: '3.11', interpreter: "python3.11"}
]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python.py }}
- run: |
python -m pip install -r qoqo/requirements.txt
python -m pip install -r tests/python_tests/requirements.txt
python -m pytest tests/python_tests
standalone_check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
- uses: Swatinem/[email protected]
- run: |
cd roqoqo/standalone
cd 5_Deutsch-Josza_example
cargo run
cd ..
cd 4_Half_adder_example
cargo run
cd ..
cd 1_Intro_to_roqoqo
cargo run
cd ..
cd 2_Measurement_example
cargo run
cd ..
cd 3_Teleportation_example
cargo run
cd ..