Add array batching for Qiskit parallel execution (Phase 2) #1340
This file contains hidden or 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
| name: Test Benchmarks on Push | |
| on: | |
| push: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: ['3.11', '3.12'] | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v3 | |
| - name: Set up Python | |
| uses: actions/setup-python@v3 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install package and test dependencies | |
| run: pip install -e . pytest scipy qiskit qiskit-aer | |
| - name: Check Qiskit version | |
| run: | | |
| pip list | grep -i qiskit || true | |
| python -c "import qiskit; print(f'Qiskit version: {qiskit.__version__}')" | |
| - name: Run hydrogen lattice tests | |
| run: pytest | |
| working-directory: ./qedcbench/hydrogen_lattice/qiskit | |
| - name: Run hamiltonian simulation tests | |
| run: pytest | |
| working-directory: ./qedcbench/hamiltonian_simulation/qiskit |