Adds __mul__
and __rmul__
methods to SparseHamiltonian
#39040
Workflow file for this run
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
name: Tests | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
concurrency: | |
group: unit-tests-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
tests: | |
uses: ./.github/workflows/interface-unit-tests.yml | |
with: | |
branch: ${{ github.ref }} | |
# Run a 'lightened' version of the CI on Pull Requests by default | |
# Unless the label `ci:run-full-test-suite` is attached to the PR. | |
# Always runs the full suite for push events. | |
run_lightened_ci: >- | |
${{ | |
github.event_name == 'pull_request' | |
&& !contains(github.event.pull_request.labels.*.name, 'ci:run-full-test-suite') | |
|| false | |
}} |