Skip to content

Deprecate get_induced_subgraph and update docstrings for CouplingGraph and get_subgraph #698

Deprecate get_induced_subgraph and update docstrings for CouplingGraph and get_subgraph

Deprecate get_induced_subgraph and update docstrings for CouplingGraph and get_subgraph #698

Workflow file for this run

name: tests
on:
pull_request:
push:
branches: [main]
jobs:
tests:
strategy:
fail-fast: false
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
os: [macOS-latest, windows-latest, ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Upgrade python environment
run: python -m pip install --upgrade virtualenv setuptools pip
- name: Upgrade test dependencies
run: python -m pip install psutil pytest 'hypothesis[zoneinfo]' qiskit
- name: Install BQSKit
env:
SYSTEM_VERSION_COMPAT: 0
run: pip install .
- name: Run tests
env:
NUMBER_RANDOM_CIRCUITS: 100
run: pytest --ignore=tests/compiler/compile --ignore=tests/passes/partitioning/test_parts.py --ignore=tests/passes/synthesis/test_qfast.py
- name: Run notebooks with nbval
run: |
pip install nbval
pytest --nbval-lax examples/tutorials/