Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Follow-up for native support for Sparse Hamiltonians expval() #296

Merged
merged 139 commits into from
May 27, 2022
Merged
Show file tree
Hide file tree
Changes from 138 commits
Commits
Show all changes
139 commits
Select commit Hold shift + click to select a range
272cb81
add Kokkos building and test options
AmintorDusko Apr 20, 2022
54d0855
Auto update version
chaeyeunpark Apr 20, 2022
188ab71
Merge branch 'master' into feature/Kokkos-sparse
AmintorDusko Apr 20, 2022
617316b
Auto update version
chaeyeunpark Apr 20, 2022
5edb6ee
checking threads in windows
AmintorDusko Apr 20, 2022
ccc8c4a
Merge branch 'master' into feature/Kokkos-sparse
AmintorDusko Apr 20, 2022
f922584
Merge branch 'feature/Kokkos-sparse' of github.com:PennyLaneAI/pennyl…
AmintorDusko Apr 20, 2022
58d272b
add Kokkos serial test
AmintorDusko Apr 21, 2022
1e6907b
set Kokkos Serial device for Win and Mac
AmintorDusko Apr 21, 2022
bf23f80
Increase maximum full-path length allowed in Win
AmintorDusko Apr 21, 2022
f6a308f
oops wrong size
AmintorDusko Apr 21, 2022
4e16543
set Win wheel to be built without Ninja
AmintorDusko Apr 21, 2022
f4fe306
setup clang-cl for Win
AmintorDusko Apr 27, 2022
ce36dd4
implement methods to apply a sparse matrix to a vector with Kokkos
AmintorDusko Apr 27, 2022
0352436
Implement the expected value calculation of a Sparse Hamiltonian
AmintorDusko Apr 27, 2022
d93e1e4
add tests
AmintorDusko Apr 27, 2022
e25970d
merge master
AmintorDusko Apr 27, 2022
6285007
Auto update version
chaeyeunpark Apr 27, 2022
35e7b4c
improve format
AmintorDusko Apr 27, 2022
91ad6e1
Merge branch 'feature/Kokkos-sparse' of github.com:PennyLaneAI/pennyl…
AmintorDusko Apr 27, 2022
4d067be
set Kokkos and Kokkos Kernel directories as system type to avoid cla…
AmintorDusko Apr 28, 2022
f1f4b3a
add python tests
AmintorDusko May 4, 2022
fc6f6da
add python/C++ interface
AmintorDusko May 4, 2022
4f2b7c9
make Kokkos installations Position Independent Code
AmintorDusko May 4, 2022
035d82c
merge master
AmintorDusko May 4, 2022
d92f8ab
Auto update version
chaeyeunpark May 4, 2022
3ab9d09
Trigger CI
AmintorDusko May 4, 2022
68ccb6c
Merge branch 'feature/Kokkos-sparse' of github.com:PennyLaneAI/pennyl…
AmintorDusko May 4, 2022
4d5232a
set environment variables for Kokkos
AmintorDusko May 6, 2022
caa4222
remove set environment variables for Kokkos
AmintorDusko May 6, 2022
21ccd33
long path in Windows
AmintorDusko May 6, 2022
73f8ac6
fix windows wheel
AmintorDusko May 6, 2022
2144e02
codecov
AmintorDusko May 6, 2022
39766fa
long path
AmintorDusko May 6, 2022
13e1887
powershell command
AmintorDusko May 6, 2022
e778b37
default generator for windows
AmintorDusko May 6, 2022
cc8801a
remove ilammy from Win Wheel
AmintorDusko May 6, 2022
dfcaa79
powershell command back
AmintorDusko May 6, 2022
46bf067
comment CMAKE_OBJECT_PATH_MAX
AmintorDusko May 6, 2022
6a0328f
merge master
AmintorDusko May 6, 2022
fa5abe5
set CMAKE_OBJECT_PATH_MAX
AmintorDusko May 6, 2022
2c312d3
Auto update version
chaeyeunpark May 6, 2022
9cdea8c
Trigger CI
AmintorDusko May 6, 2022
3753754
Merge branch 'feature/Kokkos-sparse' of github.com:PennyLaneAI/pennyl…
AmintorDusko May 6, 2022
6ba9330
Reduce character limit
mlxd May 9, 2022
ee8a54c
Auto update version
chaeyeunpark May 9, 2022
aa9dff2
Merge branch 'master' into feature/Kokkos-sparse
mlxd May 9, 2022
1ee3c79
Fix veresion
mlxd May 9, 2022
b471d99
Add shell=True in cmake subprocess for Windows
chaeyeunpark May 9, 2022
6f2a772
Add shell=True in cmake subprocess for Windows
chaeyeunpark May 9, 2022
0493a57
Merge branch 'feature/Kokkos-sparse' of https://github.com/PennyLaneA…
chaeyeunpark May 9, 2022
79607d6
Call cibuildwheel directly from the shell
chaeyeunpark May 9, 2022
2d481f6
Revert shell
chaeyeunpark May 9, 2022
4a020be
improve Python bindings
AmintorDusko May 10, 2022
4c16c70
change expval of sparse Hamiltonians to use pointers as input
AmintorDusko May 10, 2022
30828bb
update the new PL_REQUIRE_THROWS_MATCHES and PL_CHECK_THROWS_MATCHES …
AmintorDusko May 10, 2022
b1c4780
update Measures.hpp safety checks to PL_ABORT_IF
AmintorDusko May 10, 2022
a1be5fc
update c++ tests
AmintorDusko May 10, 2022
0f32d32
update Kokkos and Kokkos Kernels version
AmintorDusko May 10, 2022
3fa42ea
Merge branch 'master' into feature/Kokkos-sparse
AmintorDusko May 10, 2022
d2a51ea
Merge branch 'feature/Kokkos-sparse' of github.com:PennyLaneAI/pennyl…
AmintorDusko May 10, 2022
9a8c7fe
fix format
AmintorDusko May 10, 2022
5a24556
improve documentation
AmintorDusko May 10, 2022
46c797c
simplify cmake file and set Serial device for all cases.
AmintorDusko May 13, 2022
276f26e
merge master
AmintorDusko May 13, 2022
b1f6f3a
update CHANGELOG
AmintorDusko May 13, 2022
ea51ddf
Auto update version
chaeyeunpark May 13, 2022
f75f6cc
Trigger CI
AmintorDusko May 13, 2022
5ef040e
Merge branch 'feature/Kokkos-sparse' of github.com:PennyLaneAI/pennyl…
AmintorDusko May 13, 2022
a0e8f1d
update CHANGELOG
AmintorDusko May 13, 2022
e41a3ab
remove use_csingle
AmintorDusko May 13, 2022
eb7df1e
Update .github/CHANGELOG.md
AmintorDusko May 13, 2022
cbe6667
update python tests and bring use_csingle back
AmintorDusko May 13, 2022
872fce1
Merge branch 'feature/Kokkos-sparse' of github.com:PennyLaneAI/pennyl…
AmintorDusko May 13, 2022
4ff8266
format
AmintorDusko May 13, 2022
daf69b2
update test options
AmintorDusko May 13, 2022
f7d608f
remove use_csingle
AmintorDusko May 13, 2022
d3613a2
remove references ENABLE_THREADS
AmintorDusko May 13, 2022
823d080
win64_path_fix: ensure paths are x-platform compatible
AmintorDusko May 16, 2022
243619e
win64_path_fix: Manually unpack and modify wheel / Fix pwsh
AmintorDusko May 16, 2022
db8a5f7
codefactor
AmintorDusko May 16, 2022
38140d5
add collaboration
AmintorDusko May 16, 2022
910f789
tag windows as latest
AmintorDusko May 16, 2022
0536ed5
uncommenting release line
AmintorDusko May 17, 2022
cc1f431
testing size_t as index type in new Kokkos version and reducing prepr…
AmintorDusko May 17, 2022
f4602a1
set index_type as long int
AmintorDusko May 17, 2022
6fc90b0
remove underscore and Enable Kokkos as a compile option
AmintorDusko May 17, 2022
4d70cc9
fix typo
AmintorDusko May 17, 2022
6cd787e
removing preprocessor ifdef statements
AmintorDusko May 18, 2022
d2560de
refactor apply_Sparse_Matrix
AmintorDusko May 18, 2022
c712970
move and update some helpers and update tests for measures
AmintorDusko May 18, 2022
447e287
places tests for sparse measures in its own file
AmintorDusko May 18, 2022
3b3dfea
codefactor
AmintorDusko May 18, 2022
3f8f0f9
Tidy
AmintorDusko May 18, 2022
8c99edc
fix element placement
AmintorDusko May 18, 2022
37fc44d
Trigger CI
AmintorDusko May 18, 2022
f119a3d
Trigger CI
AmintorDusko May 19, 2022
8f7e9a8
Default Kokkos to OFF
AmintorDusko May 19, 2022
d888a37
tidying up test-cpp-kokkos
AmintorDusko May 19, 2022
6e3c267
add Kokkos tests for Linux
AmintorDusko May 19, 2022
f89df1f
default expval to default.qubit in a no-Kokkos scenario
AmintorDusko May 19, 2022
4af16fe
format
AmintorDusko May 19, 2022
78a0d2e
codefactor
AmintorDusko May 19, 2022
6221623
add maybe unused to no Kokkos apply_Sparse_Matrix
AmintorDusko May 19, 2022
3c10b68
add tests with Kokkos in Windows
AmintorDusko May 19, 2022
de24a30
clang-cl compiler
AmintorDusko May 19, 2022
7c0a054
improve PL_ABORT message
AmintorDusko May 19, 2022
cb7b29d
Enable long path in Win
AmintorDusko May 19, 2022
cd159de
set location
AmintorDusko May 19, 2022
f9a162e
Merge branch 'master' into feature/Kokkos-sparse
AmintorDusko May 20, 2022
6aa0084
Auto update version
chaeyeunpark May 20, 2022
e2674ea
set a file for sparse measures python tests
AmintorDusko May 20, 2022
fcafec9
Merge branch 'feature/Kokkos-sparse' of github.com:PennyLaneAI/pennyl…
AmintorDusko May 20, 2022
0e84518
expand python tests
AmintorDusko May 20, 2022
cdbf65a
expand c++ coverage
AmintorDusko May 24, 2022
5b81c72
format
AmintorDusko May 24, 2022
2f5fb79
refactor apply_Sparse_Matrix and expand python test coverage in Linux.
AmintorDusko May 24, 2022
5bf8f78
codefactor
AmintorDusko May 24, 2022
e3b4b53
add setup install
AmintorDusko May 24, 2022
d0b9b58
exclude line in coverage
AmintorDusko May 24, 2022
1ec633e
update tests
AmintorDusko May 24, 2022
7cad927
remove codecov comment
AmintorDusko May 24, 2022
528697f
improve python tests
AmintorDusko May 24, 2022
df1e832
testing no cover
AmintorDusko May 25, 2022
2a8fe51
undo test
AmintorDusko May 25, 2022
f117a1d
test exclude block from codecov analysis
AmintorDusko May 25, 2022
cedfc3e
test merge tests and upgrade Linux
AmintorDusko May 25, 2022
8d022a1
update tests_linux
AmintorDusko May 25, 2022
db5bd26
add unit tests for Kokkos Sparse
AmintorDusko May 26, 2022
393c577
add control to throwing exception and remove unnecessary atributes
AmintorDusko May 26, 2022
0790d05
remove unnecessary tests
AmintorDusko May 26, 2022
ef86272
include Acknowledgements in Readme file
AmintorDusko May 27, 2022
297a67b
fix readme for wheels
AmintorDusko May 27, 2022
f132aa3
Merge branch 'master' into feature/Kokkos-sparse
AmintorDusko May 27, 2022
b3e3991
Auto update version
chaeyeunpark May 27, 2022
6c98c8c
update torch and tensorflow installations to pick up minor version re…
AmintorDusko May 27, 2022
3415fdb
Merge branch 'feature/Kokkos-sparse' of github.com:PennyLaneAI/pennyl…
AmintorDusko May 27, 2022
1d73279
reverting syntax for torch
AmintorDusko May 27, 2022
228e58d
Update README.rst
AmintorDusko May 27, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/tests_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
pull_request:

env:
TF_VERSION: 2.6
TF_VERSION: 2.6.0
TORCH_VERSION: 1.10.0+cpu
COVERAGE_FLAGS: "--cov=pennylane_lightning --cov-report=term-missing --cov-report=xml:./coverage.xml --no-flaky-report -p no:warnings --tb=native"
OMP_NUM_THREADS: "2"
Expand Down Expand Up @@ -251,7 +251,7 @@ jobs:
run: |
pip install --upgrade torch==$TORCH_VERSION -f https://download.pytorch.org/whl/cpu/torch_stable.html
pip install --upgrade "jax[cpu]" # This also installs jaxlib
pip install --upgrade tensorflow==$TF_VERSION keras==$TF_VERSION
pip install --upgrade tensorflow~=$TF_VERSION keras~=$TF_VERSION

- name: Install lightning.qubit device
run: |
Expand Down Expand Up @@ -305,7 +305,7 @@ jobs:
run: |
pip install --upgrade torch==$TORCH_VERSION -f https://download.pytorch.org/whl/cpu/torch_stable.html
pip install --upgrade "jax[cpu]" # This also installs jaxlib
pip install --upgrade tensorflow==$TF_VERSION keras==$TF_VERSION
pip install --upgrade tensorflow~=$TF_VERSION keras~=$TF_VERSION

- name: Install lightning.qubit device
run: |
Expand Down
9 changes: 6 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -236,12 +236,15 @@ The PennyLane lightning plugin is **free** and **open source**, released under
the `Apache License, Version 2.0 <https://www.apache.org/licenses/LICENSE-2.0>`_.

.. license-end-inclusion-marker-do-not-remove
.. acknowledgements-start-inclusion-marker-do-not-remove

Acknowledgements
================

PennyLane Lightning makes use of the following libraries and tools, which are under their own respective licenses:

- **pybind11:** https://pybind11.readthedocs.io/en/stable/ [`License <https://github.com/pybind/pybind11/blob/master/LICENSE>`_]
- **Kokkos Core:** https://github.com/kokkos/kokkos [`License <https://github.com/kokkos/kokkos/blob/master/LICENSE>`_]
- **Kokkos Kernels:** https://github.com/kokkos/kokkos-kernels [`License <https://github.com/kokkos/kokkos-kernels/blob/master/LICENSE>`_]
- **pybind11:** https://pybind11.readthedocs.io/en/stable/
- **Kokkos Core:** https://github.com/kokkos/kokkos
- **Kokkos Kernels:** https://github.com/kokkos/kokkos-kernels

.. acknowledgements-end-inclusion-marker-do-not-remove
2 changes: 1 addition & 1 deletion pennylane_lightning/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
Version number (major.minor.patch[-label])
"""

__version__ = "0.24.0-dev9"
__version__ = "0.24.0-dev10"