Skip to content
This repository has been archived by the owner on Dec 7, 2021. It is now read-only.

Gradients Framework #1293

Merged
merged 194 commits into from
Oct 15, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
194 commits
Select commit Hold shift + click to select a range
93116e5
clean PR with the current gradient state
Cryoris Sep 22, 2020
e75af3b
Update derivatives_base.py
Zoufalc Sep 22, 2020
7d09fa0
Update hessian.py
Zoufalc Sep 22, 2020
612b897
Update test_grad.py
Zoufalc Sep 22, 2020
10a6f07
add notebooks
Zoufalc Sep 22, 2020
54f3728
Typing, Linting
Zoufalc Sep 22, 2020
4fac4a9
Update gradient_framework.ipynb
Zoufalc Sep 22, 2020
84876d2
Merge pull request #69 from OUF/cleanup-ouf
Zoufalc Sep 22, 2020
20ebdc1
typing qfi
Zoufalc Sep 22, 2020
770dfd8
enable gradients for VQAlgorithms
Zoufalc Sep 22, 2020
8cdc127
remove old files and notes
t-imamichi Sep 23, 2020
c3f715c
enfoce num chars <= 100
t-imamichi Sep 23, 2020
42db468
fix an import
t-imamichi Sep 23, 2020
b3e4791
re-adjust import
t-imamichi Sep 23, 2020
e3ad154
fix other imports
t-imamichi Sep 23, 2020
4ad34a4
Merge pull request #71 from IMAMICHI/del-old
Zoufalc Sep 23, 2020
c17cb76
Merge pull request #72 from IMAMICHI/num-chars-100
Zoufalc Sep 23, 2020
85728c9
additional base classes
Zoufalc Sep 23, 2020
1101b3d
test cases pass and the core logic all works. Doc strings could use a…
BryceFuller Sep 23, 2020
ea6e1cf
Merge pull request #73 from OUF/gradients_additional_base_classes
Cryoris Sep 24, 2020
e7357dd
Update derivatives_base.py (#75)
BryceFuller Sep 24, 2020
d03e6ce
update ordering/naming
Zoufalc Sep 24, 2020
e0f81d0
Merge branch 'qfi_reorg_ouf' into gradients
Zoufalc Sep 24, 2020
9cf4991
Merge pull request #78 from OUF/gradients
Zoufalc Sep 24, 2020
2663c1a
reshuffle, rename
Zoufalc Sep 24, 2020
d730cd3
add VQE gradient unittest
Zoufalc Sep 24, 2020
7e6857b
add notebook B2Meeting
Zoufalc Sep 24, 2020
c0e6fc6
Update gradient_framework_reduced.ipynb
Zoufalc Sep 24, 2020
f139b15
removed a leftover notebook file
BryceFuller Sep 24, 2020
2349170
removed the notebooks (and am pushing them to a cleaned up QGradients…
BryceFuller Sep 24, 2020
acccf89
Update gradient.py
BryceFuller Sep 24, 2020
c168791
will be deleted need this to pull sry
Zoufalc Sep 25, 2020
e1270e8
Merge branch 'qfi_reorg_ouf' of https://github.ibm.com/OUF/qiskit-aqu…
Zoufalc Sep 25, 2020
d686baa
fix qfi docstring
Zoufalc Sep 25, 2020
84f12c0
Add retworkx version check
Zoufalc Sep 25, 2020
6599ab7
delete notebooks, fixed seed fin_diff circSampler, fix kwargs import …
Zoufalc Sep 25, 2020
8e6f7ff
Delete test_natural_gradient.py
Zoufalc Sep 25, 2020
aa13e54
Merge pull request #79 from OUF/qfi_reorg_ouf
Zoufalc Sep 25, 2020
fbb66b4
Merge pull request #82 from OUF/SummedOp-tiny-fix
Zoufalc Sep 25, 2020
7a7499a
fix symbol map in parameter expression grad
Cryoris Sep 27, 2020
0a4b62c
typing
Zoufalc Sep 28, 2020
19a7ec5
Merge pull request #84 from OUF/fix-parameter-expressionn-grad
Zoufalc Sep 28, 2020
dee059d
Update qfi.py
Zoufalc Sep 28, 2020
8bb7b5b
Merge branch 'gradients' of https://github.ibm.com/OUF/qiskit-aqua-gr…
Zoufalc Sep 28, 2020
b78ede9
typing
Zoufalc Sep 28, 2020
2dc76cb
Update test_grad.py
Zoufalc Sep 28, 2020
374a3df
added a docstring to unroll_operator
BryceFuller Sep 28, 2020
82efc33
Update hessian.py
Zoufalc Sep 28, 2020
c26430f
Update gradient.py
Zoufalc Sep 28, 2020
b0f2cab
Fix statevector check (not always a QuantumInstance)
Zoufalc Sep 28, 2020
bd2bd60
Update hessian.py
Zoufalc Sep 28, 2020
6a85ae0
fix lint of qiskit/aqua/operators/gradients/*.py
t-imamichi Sep 30, 2020
c51474f
fix lint of qiskit/aqua/operators/gradients/circuit_gradients/*.py
t-imamichi Sep 30, 2020
c74011c
Merge pull request #85 from IMAMICHI/lint
Zoufalc Sep 30, 2020
a4994ad
Merge branch 'master' into gradients
Zoufalc Sep 30, 2020
fe21c08
fix lint of qiskit/aqua/operators/gradients/circuit_qfis/*.py
t-imamichi Sep 30, 2020
5bec965
fix test_grad
t-imamichi Sep 30, 2020
4cf1056
Merge branch 'master' into gradients
Cryoris Oct 5, 2020
cef7f67
Copy folder
Zoufalc Oct 5, 2020
24136cc
remove unknown aqua changes
Zoufalc Oct 5, 2020
3078bec
fix ListOp, VQAlgorithms for gradients
Zoufalc Oct 5, 2020
5b5f429
VQE Gradients import
Zoufalc Oct 5, 2020
d891a87
update operators init
Zoufalc Oct 6, 2020
1295b09
rm some changes not related to gradients
Cryoris Oct 6, 2020
5c02bbd
Merge branch 'master' into gradients
Cryoris Oct 6, 2020
d4a9171
mypy fixes
Zoufalc Oct 6, 2020
71673a0
Merge branch 'gradients' of https://github.com/Zoufalc/qiskit-aqua in…
Zoufalc Oct 6, 2020
45441af
skip jax test if not installed
Cryoris Oct 6, 2020
d920d95
try to fix cyclic import
Cryoris Oct 6, 2020
86a34d8
fix lint in isinstance
Cryoris Oct 6, 2020
e1240fb
Merge branch 'gradients' of github.com:Zoufalc/qiskit-aqua into gradi…
Cryoris Oct 6, 2020
4044fe6
uncomment vqe tests + consistent HAS_JAX
Cryoris Oct 6, 2020
1dcf237
mypy fixes
Zoufalc Oct 6, 2020
55bb2d0
Merge branch 'gradients' of https://github.com/Zoufalc/qiskit-aqua in…
Zoufalc Oct 6, 2020
f4a52c8
ignore mypy warning from opbase.coeff
Cryoris Oct 6, 2020
229e24b
fix isinstance used w/ typehints
Cryoris Oct 6, 2020
a40d9f4
try fixing sphinx
Cryoris Oct 6, 2020
266162b
Merge branch 'gradients' of github.com:Zoufalc/qiskit-aqua into gradi…
Cryoris Oct 6, 2020
50fea6b
ignore cases mypy doesn't understand correctly
Cryoris Oct 6, 2020
1ec656e
fix unnecessary else after raise
Cryoris Oct 6, 2020
a966dfc
Add jax to github actions
manoelmarques Oct 6, 2020
e2236c4
fix spell
manoelmarques Oct 6, 2020
f2f090b
add jax dependency to actions lint
manoelmarques Oct 6, 2020
c708a97
fix spell
manoelmarques Oct 6, 2020
ae197b8
Reduce VQE Iterations in unittest
Zoufalc Oct 6, 2020
2e93a96
Use ImportError
manoelmarques Oct 6, 2020
7f57359
fix lint
manoelmarques Oct 6, 2020
42bdb7e
Merge branch 'master' into gradients
manoelmarques Oct 6, 2020
e3eef9d
Add gradient framework release note
Zoufalc Oct 7, 2020
4a97765
update gradient framework release note
Zoufalc Oct 7, 2020
a6ebb44
fix reno formatting errors
manoelmarques Oct 7, 2020
c97df57
Merge branch 'master' into gradients
manoelmarques Oct 7, 2020
69d2dd2
Merge branch 'master' into gradients
manoelmarques Oct 8, 2020
0e57112
Merge branch 'master' into gradients
manoelmarques Oct 8, 2020
6ff35a2
Update to documentation
woodsp-ibm Oct 8, 2020
864e8d4
Fix doctring to avoid warnings
woodsp-ibm Oct 8, 2020
977bc7b
update gradient init
Zoufalc Oct 9, 2020
e4ecbc5
update qaoa docstring
Zoufalc Oct 9, 2020
a432a45
remover retworkx check
Zoufalc Oct 9, 2020
1a4a583
update docstrings
Zoufalc Oct 9, 2020
3a4873b
lint fixes
Zoufalc Oct 9, 2020
11fcb27
update docstrings to hint max_evals_grouped deprecation if gradient i…
Zoufalc Oct 9, 2020
6870291
Merge branch 'master' into gradients
manoelmarques Oct 9, 2020
ce98aea
Update test_grad.py
BryceFuller Oct 9, 2020
cec4e10
Update test_grad.py
BryceFuller Oct 9, 2020
ba6156b
Merge branch 'master' into gradients
manoelmarques Oct 10, 2020
68a8926
Update lin_comb circuit gradients to fix hessian evaluation
Zoufalc Oct 11, 2020
6161e94
Move renamed gradient test into operator file
Zoufalc Oct 12, 2020
b5541b8
Merge branch 'gradients' of github.com:Zoufalc/qiskit-aqua into gradi…
Zoufalc Oct 12, 2020
bfbaf70
update lin_comb
Zoufalc Oct 12, 2020
28fb923
update lin_comb gradients
Zoufalc Oct 12, 2020
ba488c1
Merge branch 'master' into gradients
manoelmarques Oct 12, 2020
567213f
fix lint
manoelmarques Oct 12, 2020
4fa540f
Merge branch 'master' into gradients
manoelmarques Oct 12, 2020
9383b01
fix lin_comb
Zoufalc Oct 12, 2020
7f62834
Merge branch 'gradients' of github.com:Zoufalc/qiskit-aqua into gradi…
Zoufalc Oct 12, 2020
6a4bc63
fixed the bugs that were causing Hessian logic to fail with custom co…
BryceFuller Oct 12, 2020
98c2141
Merge pull request #1 from BryceFuller/hessian_fix
BryceFuller Oct 12, 2020
acff66b
increase coverage of natural gradient
t-imamichi Oct 13, 2020
456585a
Merge branch 'gradients' of https://github.com/Zoufalc/qiskit-aqua in…
Zoufalc Oct 13, 2020
9cda697
merge zoufalc gradients
Zoufalc Oct 13, 2020
17eb613
try all combinations of grad_method and qfi_method
t-imamichi Oct 13, 2020
b81f659
style fix
Zoufalc Oct 13, 2020
3b12e99
updates for hessians
Zoufalc Oct 13, 2020
3c854df
remove redundant line
Zoufalc Oct 13, 2020
4b81ec3
Merge pull request #2 from BryceFuller/patch-1
Zoufalc Oct 13, 2020
cf2ee0a
make fixes
Zoufalc Oct 13, 2020
0c853b8
remove hessian from grad
Zoufalc Oct 13, 2020
6163a69
relax VQE test
Zoufalc Oct 13, 2020
9a44398
remove redundant lambda
Zoufalc Oct 13, 2020
f3e003f
fix identation
Zoufalc Oct 13, 2020
3e600bd
fix spelling
Zoufalc Oct 13, 2020
17ec1b5
fix whitespace
Zoufalc Oct 13, 2020
ee724b3
Merge branch 'master' of https://github.com/Qiskit/qiskit-aqua into g…
Zoufalc Oct 13, 2020
e954ab7
revert qfi_method in test_natural_gradient
t-imamichi Oct 14, 2020
0da3848
Merge remote-tracking branch 'ouf/gradients' into natgrad
t-imamichi Oct 14, 2020
e75f288
revert param name
t-imamichi Oct 14, 2020
4d4d097
fix lint
Zoufalc Oct 14, 2020
8de66fd
remove redundant comment
Zoufalc Oct 14, 2020
34c71bd
Merge pull request #3 from t-imamichi/natgrad
Zoufalc Oct 14, 2020
33b2f3f
update identation
Zoufalc Oct 14, 2020
2bc9705
fix np.random.seed
t-imamichi Oct 14, 2020
c7600e1
Merge pull request #4 from t-imamichi/fix_seed
Zoufalc Oct 14, 2020
2ddfbf4
Merge branch 'master' into gradients
manoelmarques Oct 14, 2020
b0242bb
Merge branch 'master' of https://github.com/Qiskit/qiskit-aqua into g…
Zoufalc Oct 14, 2020
f4c44b4
increase coverage for lin_comb
Zoufalc Oct 14, 2020
934806c
Merge branch 'gradients' of github.com:Zoufalc/qiskit-aqua into gradi…
Zoufalc Oct 14, 2020
244ab01
fix lint
Zoufalc Oct 14, 2020
aba315d
lint
Zoufalc Oct 14, 2020
8522248
whitespace fix
Zoufalc Oct 14, 2020
385b138
docstring
Zoufalc Oct 14, 2020
ab10176
lint
Zoufalc Oct 14, 2020
b4a1a94
disable misspelling
Zoufalc Oct 14, 2020
d7404b6
add yy, zz to pylintdict
Zoufalc Oct 14, 2020
a20f35d
Merge branch 'master' into gradients
woodsp-ibm Oct 14, 2020
56b3dc0
Update __init__.py
BryceFuller Oct 14, 2020
27e9a08
fixed linting
BryceFuller Oct 14, 2020
087d206
Merge branch 'master' into gradients
Cryoris Oct 14, 2020
31ee118
update init file
Zoufalc Oct 15, 2020
82d5bd1
Merge pull request #6 from BryceFuller/patch-2
Zoufalc Oct 15, 2020
22b5b07
fix spell
Zoufalc Oct 15, 2020
7212624
fix spelling
Zoufalc Oct 15, 2020
1e37cf7
remove redundant import
Zoufalc Oct 15, 2020
09062b2
attempt to fix sphinx #1
Cryoris Oct 15, 2020
a1b594a
Update qiskit/aqua/operators/gradients/qfi.py
Zoufalc Oct 15, 2020
2d81a0c
try to fix sphinx no.2
Cryoris Oct 15, 2020
0012562
Merge branch 'gradients' of github.com:Zoufalc/qiskit-aqua into gradi…
Cryoris Oct 15, 2020
b5fba08
Merge branch 'master' into gradients
Cryoris Oct 15, 2020
2377c57
add words to pylintdict
t-imamichi Oct 15, 2020
01a22c3
fix cryoris comments
Zoufalc Oct 15, 2020
6a54cb5
Merge branch 'gradients' of github.com:Zoufalc/qiskit-aqua into gradi…
Zoufalc Oct 15, 2020
cf8f5d8
Merge pull request #7 from t-imamichi/spell
Zoufalc Oct 15, 2020
5f90e12
Merge branch 'master' into gradients
Cryoris Oct 15, 2020
77c83fb
Update qiskit/aqua/operators/gradients/circuit_qfis/lin_comb_full.py
Zoufalc Oct 15, 2020
50cd6f5
Update qiskit/aqua/operators/gradients/circuit_qfis/lin_comb_full.py
Zoufalc Oct 15, 2020
7b42753
Update qiskit/aqua/operators/gradients/circuit_qfis/lin_comb_full.py
Zoufalc Oct 15, 2020
f43021f
cryoris comments
Zoufalc Oct 15, 2020
4b5664b
Merge branch 'gradients' of github.com:Zoufalc/qiskit-aqua into gradi…
Zoufalc Oct 15, 2020
d5a9e46
delete unneccessary
Zoufalc Oct 15, 2020
64f5c93
Update qiskit/aqua/operators/gradients/hessian.py
Zoufalc Oct 15, 2020
345a72f
raise warning hessians
Zoufalc Oct 15, 2020
b67b145
include docstring TypeError
Zoufalc Oct 15, 2020
5cd475b
Merge branch 'gradients' of github.com:Zoufalc/qiskit-aqua into gradi…
Zoufalc Oct 15, 2020
0c41a39
Update qiskit/aqua/operators/gradients/circuit_qfis/overlap_diag.py
Zoufalc Oct 15, 2020
80b0765
Update qiskit/aqua/operators/gradients/gradient.py
Zoufalc Oct 15, 2020
ee261d9
remove unnecessary os comment
Zoufalc Oct 15, 2020
b0a9c7d
Merge branch 'gradients' of github.com:Zoufalc/qiskit-aqua into gradi…
Zoufalc Oct 15, 2020
a117ba2
Update qiskit/aqua/operators/gradients/circuit_gradients/lin_comb.py
Zoufalc Oct 15, 2020
748967b
Insert proper Error
Zoufalc Oct 15, 2020
e6b47e5
Merge branch 'gradients' of github.com:Zoufalc/qiskit-aqua into gradi…
Zoufalc Oct 15, 2020
4974ea6
apply changes from code review
Cryoris Oct 15, 2020
2633cc1
Merge branch 'gradients' of github.com:Zoufalc/qiskit-aqua into gradi…
Cryoris Oct 15, 2020
67a5459
Merge branch 'master' into gradients
Cryoris Oct 15, 2020
99529d6
Merge branch 'master' into gradients
Cryoris Oct 15, 2020
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
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ jobs:
run: |
pip install "cvxpy>1.0.0"
pip install scikit-quant
pip install jax jaxlib
shell: bash
- name: Install cplex
run: pip install cplex
Expand Down
Loading