Skip to content

Commit

Permalink
Merge branch 'develop' of github.com:qognitive/fast-pauli into featur…
Browse files Browse the repository at this point in the history
…e/nanobind
  • Loading branch information
jamesETsmith committed Aug 23, 2024
2 parents 9f34829 + 8abe9d4 commit 1eda6aa
Show file tree
Hide file tree
Showing 25 changed files with 1,273 additions and 786 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/all_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,7 @@ jobs:
env:
OMP_NUM_THREADS: 2
CPP_TEST_DIR: build/fast_pauli/cpp/tests
run: |
# ctest --test-dir build --verbose # TODO not using bc of PauliOp problems on CI
./${CPP_TEST_DIR}/test_factory
./${CPP_TEST_DIR}/test_pauli
./${CPP_TEST_DIR}/test_pauli_op --test-case-exclude="*multistring*"
./${CPP_TEST_DIR}/test_pauli_string
./${CPP_TEST_DIR}/test_summed_pauli_op
run: make test-cpp
- name: Test Python
run: make test-py

Expand Down
7 changes: 3 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,17 @@ build-py:
build: build-cpp build-py

test-cpp:
ctest --test-dir build
ctest --test-dir build --verbose

test-py:
python -m pytest -v fast_pauli/py/tests
python -m pytest -v tests
python -m pytest -v tests/fast_pauli

.PHONY: test
test: test-cpp test-py

.PHONY: benchmark
benchmark:
pytest -v benchmarks --benchmark-group-by=func --benchmark-sort=fullname \
python -m pytest -v tests/benchmarks --benchmark-group-by=func --benchmark-sort=fullname \
--benchmark-columns='mean,median,min,max,stddev,iqr,outliers,ops,rounds,iterations'

.PHONY: clean
Expand Down
183 changes: 0 additions & 183 deletions benchmarks/test_pauli_string_benchmark.py

This file was deleted.

Loading

0 comments on commit 1eda6aa

Please sign in to comment.