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

Refactor gate operations and add a new kernel for single qubit gates #202

Merged
merged 172 commits into from
Jan 21, 2022
Merged
Changes from 1 commit
Commits
Show all changes
172 commits
Select commit Hold shift + click to select a range
8f19a17
Add bit operations in Util; Add StateVectorBase
chaeyeunpark Dec 19, 2021
fa1a992
CMake formatted
chaeyeunpark Dec 25, 2021
08b513c
Makefile updated
chaeyeunpark Dec 25, 2021
7239432
Decoupling gate operations with statevector
chaeyeunpark Dec 26, 2021
a7290a3
Testing
chaeyeunpark Dec 26, 2021
aa87cbf
Single qubit gates work
chaeyeunpark Dec 26, 2021
941327f
DynamicDispatcher added
chaeyeunpark Dec 26, 2021
87cc415
Makefile for C++ project added
chaeyeunpark Dec 26, 2021
7fe32f2
Testing..
chaeyeunpark Dec 27, 2021
45e2d62
Binding works
chaeyeunpark Dec 27, 2021
e529eca
Binding macro updated
chaeyeunpark Dec 27, 2021
8434ec1
pytest works
chaeyeunpark Dec 28, 2021
8cac2cd
fix some msvc errors
chaeyeunpark Dec 28, 2021
fa9a8f5
ignore make clean exit code
chaeyeunpark Dec 28, 2021
1b34e54
C++ format fixed
chaeyeunpark Dec 28, 2021
725f597
benchmark log
chaeyeunpark Dec 28, 2021
c7deb1f
Codefactor applied; benchmarks updated
chaeyeunpark Dec 28, 2021
a47f8ea
update some workflows
chaeyeunpark Dec 28, 2021
50250c7
Fixed for non-binary
chaeyeunpark Dec 28, 2021
653cd6e
python files are formatted
chaeyeunpark Dec 28, 2021
ae984b3
benchmark further test
chaeyeunpark Dec 28, 2021
2bacfc1
Using black v21
chaeyeunpark Dec 28, 2021
8f09150
benchmark more update
chaeyeunpark Dec 28, 2021
1771411
mac wheel?
chaeyeunpark Dec 28, 2021
a941109
Change for macos
chaeyeunpark Dec 28, 2021
e5de973
more test for C++17
chaeyeunpark Dec 28, 2021
05dd362
some more fix
chaeyeunpark Dec 28, 2021
e544458
More tests work
chaeyeunpark Jan 1, 2022
59d970d
Formatted
chaeyeunpark Jan 1, 2022
805ec9c
Workflow update
chaeyeunpark Jan 1, 2022
dd04f85
Format more fixed
chaeyeunpark Jan 1, 2022
c486616
Specified clang-format version
chaeyeunpark Jan 1, 2022
ca53f58
Now use implemented_gates for GateOperations
chaeyeunpark Jan 1, 2022
3f14427
A code snippnet
chaeyeunpark Jan 1, 2022
01cfb87
Update comments
chaeyeunpark Jan 2, 2022
98128ad
C++ tests added and work
chaeyeunpark Jan 3, 2022
367818d
Formatted
chaeyeunpark Jan 3, 2022
dfe6d16
Refactored DynamicDispatcher
chaeyeunpark Jan 3, 2022
8a54031
Binding works
chaeyeunpark Jan 3, 2022
983db1d
Added python tests
chaeyeunpark Jan 3, 2022
442fb84
Formatted python
chaeyeunpark Jan 3, 2022
e372f98
Skip lightning_qubit initializer arguments for non-binary tests
chaeyeunpark Jan 3, 2022
2f25258
Removed unused C++ tests
chaeyeunpark Jan 3, 2022
7fea459
Update tests and CHANGELOG.md
chaeyeunpark Jan 3, 2022
dc50727
Added comments in pytests
chaeyeunpark Jan 3, 2022
b530d64
Benchmark fixed
chaeyeunpark Jan 4, 2022
cf7229b
Update benchmark
chaeyeunpark Jan 4, 2022
a85e634
Benchmark updated
chaeyeunpark Jan 4, 2022
d76c7e5
Kernel function slighlty modified
chaeyeunpark Jan 4, 2022
89c6972
make benchmark updated
chaeyeunpark Jan 4, 2022
f8d000f
Update pennylane_lightning/src/util/Util.hpp
chaeyeunpark Jan 4, 2022
96a3978
Update pennylane_lightning/src/util/Util.hpp
chaeyeunpark Jan 4, 2022
b9ab1cd
Update pennylane_lightning/src/bindings/Bindings.cpp
chaeyeunpark Jan 4, 2022
23fee26
Docstring typo fixed
chaeyeunpark Jan 4, 2022
9e31207
format updated
chaeyeunpark Jan 4, 2022
858fdcb
Update pennylane_lightning/src/bindings/Bindings.cpp
chaeyeunpark Jan 4, 2022
34e50b9
format-cpp updated
chaeyeunpark Jan 4, 2022
02b1d3b
Merge branch 'refac_gate_ops' of github.com:PennyLaneAI/pennylane-lig…
chaeyeunpark Jan 4, 2022
79d28b7
Format fixed
chaeyeunpark Jan 4, 2022
d311cff
cpp-files for documents fixed
chaeyeunpark Jan 4, 2022
9b63e68
Update pennylane_lightning/src/bindings/Bindings.cpp
chaeyeunpark Jan 4, 2022
4102211
Update pennylane_lightning/src/simulator/GateOperationsLM.hpp
chaeyeunpark Jan 4, 2022
94ae44d
Update clang-format message
chaeyeunpark Jan 4, 2022
52bcdec
Python utils fixed
chaeyeunpark Jan 4, 2022
515a7cb
Merge branch 'refac_gate_ops' of github.com:PennyLaneAI/pennylane-lig…
chaeyeunpark Jan 4, 2022
1927c88
Add some fix
chaeyeunpark Jan 7, 2022
36486c2
Removed as many macros as possible
chaeyeunpark Jan 8, 2022
c599b45
Directly export StateVectorRaw instead of StateVecBinding for Python
chaeyeunpark Jan 9, 2022
3d9dbee
Refactored DynamicDispatch.cpp more
chaeyeunpark Jan 9, 2022
06756f1
Further refactord Bindings
chaeyeunpark Jan 9, 2022
11faf3d
Added some docstring; Formatted
chaeyeunpark Jan 9, 2022
01da9fc
Merged
chaeyeunpark Jan 9, 2022
607f1af
Formmated; Slightly modifed to remove errors
chaeyeunpark Jan 9, 2022
cc40eb3
Unused file removed; Docstring added
chaeyeunpark Jan 9, 2022
8c259ab
CY added to pytest
chaeyeunpark Jan 9, 2022
2fb89f8
Changed prefix increments to postfix
chaeyeunpark Jan 10, 2022
df2344f
Update pennylane_lightning/src/.gitignore
chaeyeunpark Jan 10, 2022
51da27c
Update pennylane_lightning/src/CMakeLists.txt
chaeyeunpark Jan 10, 2022
d48a05f
Update pennylane_lightning/src/CMakeLists.txt
chaeyeunpark Jan 10, 2022
1024df2
Update pennylane_lightning/src/simulator/GateOperationsLM.hpp
chaeyeunpark Jan 10, 2022
f6fae58
Merge branch 'refac_gate_ops' of github.com:PennyLaneAI/pennylane-lig…
chaeyeunpark Jan 10, 2022
4feac03
Update .github/workflows/format.yml
chaeyeunpark Jan 11, 2022
6cec636
Update .gitignore
chaeyeunpark Jan 11, 2022
1155db6
Update Makefile
chaeyeunpark Jan 11, 2022
dc52cc8
Merge branch 'refac_gate_ops' of github.com:PennyLaneAI/pennylane-lig…
chaeyeunpark Jan 11, 2022
63398e1
Update bin/cpp-files
chaeyeunpark Jan 11, 2022
35de6f5
Update bin/format
chaeyeunpark Jan 11, 2022
7304eb9
Update cmake/process_options.cmake
chaeyeunpark Jan 11, 2022
f9b3517
Update pennylane_lightning/src/simulator/DynamicDispatcher.hpp
chaeyeunpark Jan 11, 2022
a4e9a6c
Updates adjusting some reviews
chaeyeunpark Jan 11, 2022
e02824d
Merge branch 'refac_gate_ops' of github.com:PennyLaneAI/pennylane-lig…
chaeyeunpark Jan 11, 2022
719d56b
Revert "Update pennylane_lightning/src/simulator/DynamicDispatcher.hpp"
chaeyeunpark Jan 11, 2022
e2a65bb
Update pennylane_lightning/_serialize.py
chaeyeunpark Jan 11, 2022
3f449b0
Update pennylane_lightning/src/simulator/Measures.hpp
chaeyeunpark Jan 11, 2022
502d2dd
Merge branch 'refac_gate_ops' of github.com:PennyLaneAI/pennylane-lig…
chaeyeunpark Jan 11, 2022
4e55423
Update pennylane_lightning/src/simulator/DynamicDispatcher.hpp
chaeyeunpark Jan 11, 2022
ca8a9a7
Merge branch 'refac_gate_ops' of github.com:PennyLaneAI/pennylane-lig…
chaeyeunpark Jan 11, 2022
1178174
Apply suggestions from code review
chaeyeunpark Jan 11, 2022
aa81a8b
Update bin/format
chaeyeunpark Jan 11, 2022
f25ea4e
Update pennylane_lightning/src/simulator/GateOperationsLM.hpp
chaeyeunpark Jan 11, 2022
8d07d47
Update pennylane_lightning/src/simulator/StateVectorRaw.hpp
chaeyeunpark Jan 11, 2022
1ace670
Update pennylane_lightning/src/simulator/StateVectorRaw.hpp
chaeyeunpark Jan 11, 2022
1c1d1a5
Adjusting more review
chaeyeunpark Jan 11, 2022
6386c36
Merge branch 'refac_gate_ops' of github.com:PennyLaneAI/pennylane-lig…
chaeyeunpark Jan 11, 2022
398e427
Update pennylane_lightning/src/simulator/Measures.hpp
chaeyeunpark Jan 11, 2022
a23bc87
Bitwise operator fixed
chaeyeunpark Jan 12, 2022
0735a28
Merge branch 'refac_gate_ops' of github.com:PennyLaneAI/pennylane-lig…
chaeyeunpark Jan 12, 2022
860139b
Test format fixed
chaeyeunpark Jan 12, 2022
2150819
Python format updated; Docstring fixed
chaeyeunpark Jan 12, 2022
92682f6
Setup.py adds debug only when --debug is given
chaeyeunpark Jan 12, 2022
8c87134
Setup.py adds debug only when --debug is given
chaeyeunpark Jan 12, 2022
625d5d6
Merge branch 'master' of github.com:PennyLaneAI/pennylane-lightning
chaeyeunpark Jan 12, 2022
86349ed
Documents for kernel added
chaeyeunpark Jan 13, 2022
c279507
Makefile merged again
chaeyeunpark Jan 13, 2022
98f4c48
Merge branch 'master' into refac_gate_ops
chaeyeunpark Jan 13, 2022
e9c9bdd
More const added; Workflow updated
chaeyeunpark Jan 13, 2022
7462c37
Merge branch 'refac_gate_ops' of github.com:PennyLaneAI/pennylane-lig…
chaeyeunpark Jan 13, 2022
03bd6dc
Apply suggestions from code review
chaeyeunpark Jan 14, 2022
2efdff4
rev_wire_shift added
chaeyeunpark Jan 14, 2022
17f1630
Merge branch 'refac_gate_ops' of github.com:PennyLaneAI/pennylane-lig…
chaeyeunpark Jan 14, 2022
ef8c458
Added shifts in two-qubit gates in LM kernel
chaeyeunpark Jan 14, 2022
c080a2a
Reformatted
chaeyeunpark Jan 14, 2022
3f25abf
docstring updated
chaeyeunpark Jan 14, 2022
18e4f5d
Doc fixed; Docstring added here and there
chaeyeunpark Jan 14, 2022
fed9c69
Update for MSVC with CL 19.30.30709
chaeyeunpark Jan 15, 2022
57912dc
Formatted
chaeyeunpark Jan 15, 2022
49cd1ee
More integer type fix
chaeyeunpark Jan 15, 2022
96fd4b7
Specified error message for Python3.8
chaeyeunpark Jan 15, 2022
1aabfc6
Check this
chaeyeunpark Jan 16, 2022
609e26f
Once more
chaeyeunpark Jan 16, 2022
cddc17d
Test wheel
chaeyeunpark Jan 16, 2022
bf036b8
Statically link gcc trial
chaeyeunpark Jan 16, 2022
0021423
Try one more time
chaeyeunpark Jan 16, 2022
edcb1ed
Log compiler on Windows
chaeyeunpark Jan 16, 2022
645b8e8
Use mssdk
chaeyeunpark Jan 16, 2022
ca2297d
Use cl.exe
chaeyeunpark Jan 16, 2022
e2fbc81
Getting work
chaeyeunpark Jan 16, 2022
2299c49
Fix wheel
chaeyeunpark Jan 16, 2022
afc756a
Fix for MSVC
chaeyeunpark Jan 16, 2022
2c4295f
CMake args fixed
chaeyeunpark Jan 16, 2022
86e0226
Comments updated; Formatted
chaeyeunpark Jan 16, 2022
cbc64d0
Remove irrelevant file
chaeyeunpark Jan 16, 2022
da7824b
Import missing module
chaeyeunpark Jan 16, 2022
c95cbe4
Warning message fixed
chaeyeunpark Jan 16, 2022
86b5450
Revert "Warning message fixed"
chaeyeunpark Jan 16, 2022
21b6e3f
Warning message fixed
chaeyeunpark Jan 16, 2022
a34063e
Revert "Specified error message for Python3.8"
chaeyeunpark Jan 16, 2022
807b75e
Merge branch 'fix_cibuildwheel_py38' into refac_gate_ops
chaeyeunpark Jan 16, 2022
50ea345
Some fix added
chaeyeunpark Jan 16, 2022
d2fb2a6
Update comment
chaeyeunpark Jan 16, 2022
e1f4e85
Falling back to original code; Does this work?
chaeyeunpark Jan 17, 2022
d8108db
Formatted
chaeyeunpark Jan 17, 2022
114bf16
Merge branch 'fix_cibuildwheel_py38' into refac_gate_ops
chaeyeunpark Jan 17, 2022
2b4cf63
Update for codefactor
chaeyeunpark Jan 17, 2022
a02494f
Small update
chaeyeunpark Jan 17, 2022
74d8cc0
Registering to the dynamic dispatcher moved to the hpp
chaeyeunpark Jan 17, 2022
fff996d
__init__.py is also rollbacked
chaeyeunpark Jan 17, 2022
eca0671
Update Cmake
chaeyeunpark Jan 17, 2022
66e707f
Merge branch 'fix_cibuildwheel_py38' into refac_gate_ops
chaeyeunpark Jan 17, 2022
017d710
Apply suggestions from code review
chaeyeunpark Jan 17, 2022
fdd8fa6
Apply suggestions from code review
chaeyeunpark Jan 17, 2022
ac1acb2
Update .gitignore
chaeyeunpark Jan 17, 2022
42a3f65
Merge branch 'refac_gate_ops' of github.com:PennyLaneAI/pennylane-lig…
chaeyeunpark Jan 17, 2022
edb1969
Apply more changes from code review
chaeyeunpark Jan 17, 2022
73d14d5
Benchmark updated
chaeyeunpark Jan 18, 2022
8a931d1
test.py removed
chaeyeunpark Jan 18, 2022
f9f3620
Document updated
chaeyeunpark Jan 18, 2022
5376fc5
Docstring for Kernels updated
chaeyeunpark Jan 18, 2022
7398efb
formatted
chaeyeunpark Jan 18, 2022
f45e21e
Graphviz explicitly added to sphinx
chaeyeunpark Jan 18, 2022
f839955
requirements for doc updated
chaeyeunpark Jan 18, 2022
baf81a0
readthedocs installs graphviz
chaeyeunpark Jan 18, 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
Prev Previous commit
Next Next commit
benchmark more update
  • Loading branch information
chaeyeunpark committed Dec 28, 2021
commit 8f09150cfffc4952120a3e836d88231c95ad8be0
1 change: 1 addition & 0 deletions .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
- name: Checkout PennyLane-Lightning master
uses: actions/checkout@v2
with:
ref: master
path: main

- uses: actions/setup-python@v2
Expand Down