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

Docs fix #162

Merged
merged 37 commits into from
Jun 13, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
3dd22a7
Parsing the qemist dict.
alexfleury-sb May 25, 2022
d0a1fb5
Working state of getting fermops.
alexfleury-sb May 26, 2022
edf1335
Added tests + reconstruction of MI energy.
alexfleury-sb May 27, 2022
9aaadec
Merge branch 'develop' into mifno_link.
alexfleury-sb May 27, 2022
f89150b
Renaming, 1st proof-reading, included hdf5 and changed paths.
alexfleury-sb May 30, 2022
6288dbb
Codestyle test -_-.
alexfleury-sb May 30, 2022
c20a499
Fixes for review.
alexfleury-sb Jun 1, 2022
48c4ba2
__init__ file in new module.
alexfleury-sb Jun 1, 2022
73f65e4
Codestyle again -_-.
alexfleury-sb Jun 1, 2022
16245eb
Merge branch 'mifno_link' into example_mifno_link.
alexfleury-sb Jun 1, 2022
0d2e2df
New notebook.
alexfleury-sb Jun 1, 2022
a693472
Merge branch 'develop' into mifno_link.
alexfleury-sb Jun 2, 2022
c26fa62
Second round.
alexfleury-sb Jun 2, 2022
a4a0724
Merge branch 'mifno_link' into example_mifno_link.
alexfleury-sb Jun 2, 2022
a6d750f
Test conformance.
alexfleury-sb Jun 2, 2022
d3ada5c
Merge branch 'mifno_link' into example_mifno_link.
alexfleury-sb Jun 2, 2022
9493f1e
__repr__ method.
alexfleury-sb Jun 2, 2022
4c02339
Merge branch 'mifno_link' into example_mifno_link.
alexfleury-sb Jun 2, 2022
6d8b718
Update before weekend.
alexfleury-sb Jun 3, 2022
c205dbd
Before staging testing.
alexfleury-sb Jun 6, 2022
27af179
Fix bug correction, E_tot includes the correction!
alexfleury-sb Jun 6, 2022
f91e070
No need of result in loop.
alexfleury-sb Jun 6, 2022
e94c713
Merge branch 'mifno_link' into example_mifno_link.
alexfleury-sb Jun 6, 2022
aa65dbf
Changed download message.
alexfleury-sb Jun 7, 2022
c43d9e0
Merge branch 'mifno_link' into example_mifno_link.
alexfleury-sb Jun 7, 2022
5f85aa9
Notebook example update + data.
alexfleury-sb Jun 7, 2022
7f73ceb
Merge branch 'develop' into example_mifno_link.
alexfleury-sb Jun 7, 2022
6c40069
Drop frozen orb in __repr__.
alexfleury-sb Jun 7, 2022
eebf210
Dots before sharing.
alexfleury-sb Jun 7, 2022
42ffcd5
Went over the notebook. Restructured and went over all text blobs.
Jun 8, 2022
dc53533
Small typos + TODOs update.
alexfleury-sb Jun 9, 2022
a2e525e
Last changes.
alexfleury-sb Jun 10, 2022
2b4becd
Added mifno notebook to tests.
alexfleury-sb Jun 10, 2022
1394e6c
Update mifno.ipynb
ValentinS4t1qbit Jun 12, 2022
b16e178
added mifno notebook to docs
Jun 12, 2022
f1eff1c
new notebook
Jun 12, 2022
17d835e
Docs: requirements.txt no longer needed. Tutorials removed from gener…
Jun 12, 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
4 changes: 0 additions & 4 deletions dev_tools/build_sphinx_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@
# or mock the desired packages in docs/source/conf.py
pip install sphinx sphinx_rtd_theme nbsphinx

# This environment seems to work for building the docs.
# Something fishy otherwise.
pip install -r requirements.txt

# Support for LaTeX
sudo apt-get install -y latexmk texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended pandoc dvipng

Expand Down
188 changes: 0 additions & 188 deletions dev_tools/requirements.txt

This file was deleted.

1 change: 0 additions & 1 deletion docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ Welcome to tangelo's documentation!
:caption: Contents:

README
tutorials
tangelo

Indices and tables
Expand Down
1 change: 1 addition & 0 deletions docs/source/mifno.ipynb
1 change: 1 addition & 0 deletions docs/source/tutorials.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ Tutorials
dmet
problem_decomposition_oniom
qemist_cloud_hardware_experiments_braket
mifno
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
1 change: 1 addition & 0 deletions examples/data/HF_MIFNO_trunc2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"energy_total": -100.2187315187088, "energy_correlation": -0.19931281562172387, "complete_orbital_space": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18], "occupied_orbital_space": [0, 1, 2, 3, 4], "virtual_orbital_space": [5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18], "frozen_occupied_orbital_space": [0], "active_occupied_orbital_space": [1, 2, 3, 4], "frozen_virtual_orbital_space": [], "active_virtual_orbital_space": [5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18], "subproblem_data": {"1": {"(1,)": {"energy_total": -100.03350211221324, "energy_correlation": -0.014083409126172342, "complete_orbital_space": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18], "occupied_orbital_space": [0, 1, 2, 3, 4], "virtual_orbital_space": [5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18], "frozen_occupied_orbital_space": [0, 2, 3, 4], "active_occupied_orbital_space": [1], "frozen_virtual_orbital_space": [], "active_virtual_orbital_space": [5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18], "frozen_orbitals_truncated": [0, 2, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18], "frozen_virtual_orbital_space_truncated": [6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18], "active_virtual_orbital_space_truncated": [5], "mp2_correlation": -0.012363149321894081, "mp2_active_space_correlation": -0.006168010674001518, "correction": -0.006195138647892564, "mo_coefficients": {"s3_url": "https://qemistmocoefficients.s3.us-west-2.amazonaws.com/c79c6e241cce3aca82d30b0501c61ecf7f68f716a343ee0f1afdcd49e26445bc", "s3_bucket_name": "qemistmocoefficients", "key": "c79c6e241cce3aca82d30b0501c61ecf7f68f716a343ee0f1afdcd49e26445bc"}, "mean_field_energy": -100.01941870308707, "num_elec": 10, "num_basis": 7, "num_occupied": 5, "num_virtual": 14, "problem_handle": 0, "epsilon": -0.014083409126172342}, "(2,)": {"energy_total": -100.04665049929235, "energy_correlation": -0.027231796205285264, "complete_orbital_space": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18], "occupied_orbital_space": [0, 1, 2, 3, 4], "virtual_orbital_space": [5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18], "frozen_occupied_orbital_space": [0, 1, 3, 4], "active_occupied_orbital_space": [2], "frozen_virtual_orbital_space": [], "active_virtual_orbital_space": [5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18], "frozen_orbitals_truncated": [0, 1, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18], "frozen_virtual_orbital_space_truncated": [6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18], "active_virtual_orbital_space_truncated": [5], "mp2_correlation": -0.021413164525425056, "mp2_active_space_correlation": -0.014286289471253459, "correction": -0.007126875054171597, "mo_coefficients": {"s3_url": "https://qemistmocoefficients.s3.us-west-2.amazonaws.com/028fb1443ca635d67a827434b1d9f7e955961b113c8cbecc984fdccb7baeeaf1", "s3_bucket_name": "qemistmocoefficients", "key": "028fb1443ca635d67a827434b1d9f7e955961b113c8cbecc984fdccb7baeeaf1"}, "mean_field_energy": -100.01941870308707, "num_elec": 10, "num_basis": 7, "num_occupied": 5, "num_virtual": 14, "problem_handle": 1, "epsilon": -0.027231796205285264}, "(3,)": {"energy_total": -100.03871793378927, "energy_correlation": -0.019299230702202408, "complete_orbital_space": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18], "occupied_orbital_space": [0, 1, 2, 3, 4], "virtual_orbital_space": [5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18], "frozen_occupied_orbital_space": [0, 1, 2, 4], "active_occupied_orbital_space": [3], "frozen_virtual_orbital_space": [], "active_virtual_orbital_space": [5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18], "frozen_orbitals_truncated": [0, 1, 2, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18], "frozen_virtual_orbital_space_truncated": [6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18], "active_virtual_orbital_space_truncated": [5], "mp2_correlation": -0.016602198780051036, "mp2_active_space_correlation": -0.007948611810499292, "correction": -0.008653586969551744, "mo_coefficients": {"s3_url": "https://qemistmocoefficients.s3.us-west-2.amazonaws.com/1e2c115702147a9f0cf78d042e09efaf4eb33e8b83c8e16d874c40e90adc3354", "s3_bucket_name": "qemistmocoefficients", "key": "1e2c115702147a9f0cf78d042e09efaf4eb33e8b83c8e16d874c40e90adc3354"}, "mean_field_energy": -100.01941870308707, "num_elec": 10, "num_basis": 7, "num_occupied": 5, "num_virtual": 14, "problem_handle": 2, "epsilon": -0.019299230702202408}, "(4,)": {"energy_total": -100.03871793378914, "energy_correlation": -0.01929923070207451, "complete_orbital_space": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18], "occupied_orbital_space": [0, 1, 2, 3, 4], "virtual_orbital_space": [5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18], "frozen_occupied_orbital_space": [0, 1, 2, 3], "active_occupied_orbital_space": [4], "frozen_virtual_orbital_space": [], "active_virtual_orbital_space": [5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18], "frozen_orbitals_truncated": [0, 1, 2, 3, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18], "frozen_virtual_orbital_space_truncated": [6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18], "active_virtual_orbital_space_truncated": [5], "mp2_correlation": -0.016602198780029328, "mp2_active_space_correlation": -0.00794861181026827, "correction": -0.008653586969761057, "mo_coefficients": {"s3_url": "https://qemistmocoefficients.s3.us-west-2.amazonaws.com/59eb9c2925fdc2a715e5b99c80c37b2641767e26c1b9330cf710c72d22bf0fce", "s3_bucket_name": "qemistmocoefficients", "key": "59eb9c2925fdc2a715e5b99c80c37b2641767e26c1b9330cf710c72d22bf0fce"}, "mean_field_energy": -100.01941870308707, "num_elec": 10, "num_basis": 7, "num_occupied": 5, "num_virtual": 14, "problem_handle": 3, "epsilon": -0.01929923070207451}}, "2": {"(1, 2)": {"energy_total": -100.07259552838033, "energy_correlation": -0.05317682529326362, "complete_orbital_space": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18], "occupied_orbital_space": [0, 1, 2, 3, 4], "virtual_orbital_space": [5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18], "frozen_occupied_orbital_space": [0, 3, 4], "active_occupied_orbital_space": [1, 2], "frozen_virtual_orbital_space": [], "active_virtual_orbital_space": [5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18], "frozen_orbitals_truncated": [0, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18], "frozen_virtual_orbital_space_truncated": [6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18], "active_virtual_orbital_space_truncated": [5], "mp2_correlation": -0.046304912275711, "mp2_active_space_correlation": -0.016182153128560244, "correction": -0.030122759147150756, "mo_coefficients": {"s3_url": "https://qemistmocoefficients.s3.us-west-2.amazonaws.com/343c1032acfbff784010cb8fd09b8e9d68874fe41636d699c5f2cf9dff4e2bfa", "s3_bucket_name": "qemistmocoefficients", "key": "343c1032acfbff784010cb8fd09b8e9d68874fe41636d699c5f2cf9dff4e2bfa"}, "mean_field_energy": -100.01941870308707, "num_elec": 10, "num_basis": 7, "num_occupied": 5, "num_virtual": 14, "problem_handle": 4, "epsilon": -0.011861619961806014}, "(1, 3)": {"energy_total": -100.07029699353403, "energy_correlation": -0.050878290446959795, "complete_orbital_space": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18], "occupied_orbital_space": [0, 1, 2, 3, 4], "virtual_orbital_space": [5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18], "frozen_occupied_orbital_space": [0, 2, 4], "active_occupied_orbital_space": [1, 3], "frozen_virtual_orbital_space": [], "active_virtual_orbital_space": [5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18], "frozen_orbitals_truncated": [0, 2, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18], "frozen_virtual_orbital_space_truncated": [6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18], "active_virtual_orbital_space_truncated": [5], "mp2_correlation": -0.04832346577241511, "mp2_active_space_correlation": -0.008207007975439879, "correction": -0.04011645779697523, "mo_coefficients": {"s3_url": "https://qemistmocoefficients.s3.us-west-2.amazonaws.com/ff392c82769ecfd5008df90136fa510607703641e8138df9b0bd9d24416ff9d8", "s3_bucket_name": "qemistmocoefficients", "key": "ff392c82769ecfd5008df90136fa510607703641e8138df9b0bd9d24416ff9d8"}, "mean_field_energy": -100.01941870308707, "num_elec": 10, "num_basis": 7, "num_occupied": 5, "num_virtual": 14, "problem_handle": 5, "epsilon": -0.017495650618585046}, "(1, 4)": {"energy_total": -100.07029699353454, "energy_correlation": -0.050878290447471386, "complete_orbital_space": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18], "occupied_orbital_space": [0, 1, 2, 3, 4], "virtual_orbital_space": [5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18], "frozen_occupied_orbital_space": [0, 2, 3], "active_occupied_orbital_space": [1, 4], "frozen_virtual_orbital_space": [], "active_virtual_orbital_space": [5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18], "frozen_orbitals_truncated": [0, 2, 3, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18], "frozen_virtual_orbital_space_truncated": [6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18], "active_virtual_orbital_space_truncated": [5], "mp2_correlation": -0.04832346577294517, "mp2_active_space_correlation": -0.008207007975441737, "correction": -0.04011645779750343, "mo_coefficients": {"s3_url": "https://qemistmocoefficients.s3.us-west-2.amazonaws.com/3c1c646f4a81611746f9e9294df2edff151a95fb770fc2d92ad14bac505987bb", "s3_bucket_name": "qemistmocoefficients", "key": "3c1c646f4a81611746f9e9294df2edff151a95fb770fc2d92ad14bac505987bb"}, "mean_field_energy": -100.01941870308707, "num_elec": 10, "num_basis": 7, "num_occupied": 5, "num_virtual": 14, "problem_handle": 6, "epsilon": -0.017495650619224534}, "(2, 3)": {"energy_total": -100.08813696496605, "energy_correlation": -0.06871826187898478, "complete_orbital_space": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18], "occupied_orbital_space": [0, 1, 2, 3, 4], "virtual_orbital_space": [5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18], "frozen_occupied_orbital_space": [0, 1, 4], "active_occupied_orbital_space": [2, 3], "frozen_virtual_orbital_space": [], "active_virtual_orbital_space": [5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18], "frozen_orbitals_truncated": [0, 1, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18], "frozen_virtual_orbital_space_truncated": [6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18], "active_virtual_orbital_space_truncated": [5], "mp2_correlation": -0.06304233884321589, "mp2_active_space_correlation": -0.014345292821270913, "correction": -0.048697046021944974, "mo_coefficients": {"s3_url": "https://qemistmocoefficients.s3.us-west-2.amazonaws.com/c9ec3399319a9af618a3f4708c02836314adcfc4cb2b0c20c71c83f4907fc05d", "s3_bucket_name": "qemistmocoefficients", "key": "c9ec3399319a9af618a3f4708c02836314adcfc4cb2b0c20c71c83f4907fc05d"}, "mean_field_energy": -100.01941870308707, "num_elec": 10, "num_basis": 7, "num_occupied": 5, "num_virtual": 14, "problem_handle": 7, "epsilon": -0.022187234971497105}, "(2, 4)": {"energy_total": -100.08813696496622, "energy_correlation": -0.0687182618791553, "complete_orbital_space": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18], "occupied_orbital_space": [0, 1, 2, 3, 4], "virtual_orbital_space": [5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18], "frozen_occupied_orbital_space": [0, 1, 3], "active_occupied_orbital_space": [2, 4], "frozen_virtual_orbital_space": [], "active_virtual_orbital_space": [5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18], "frozen_orbitals_truncated": [0, 1, 3, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18], "frozen_virtual_orbital_space_truncated": [6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18], "active_virtual_orbital_space_truncated": [5], "mp2_correlation": -0.06304233884361277, "mp2_active_space_correlation": -0.014345292821206843, "correction": -0.048697046022405925, "mo_coefficients": {"s3_url": "https://qemistmocoefficients.s3.us-west-2.amazonaws.com/537f6839e18522d3971aa0ffc0bf6891593cdbeaeded4a31906a89a9863b3474", "s3_bucket_name": "qemistmocoefficients", "key": "537f6839e18522d3971aa0ffc0bf6891593cdbeaeded4a31906a89a9863b3474"}, "mean_field_energy": -100.01941870308707, "num_elec": 10, "num_basis": 7, "num_occupied": 5, "num_virtual": 14, "problem_handle": 8, "epsilon": -0.022187234971795533}, "(3, 4)": {"energy_total": -100.08618892223443, "energy_correlation": -0.06677021914735803, "complete_orbital_space": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18], "occupied_orbital_space": [0, 1, 2, 3, 4], "virtual_orbital_space": [5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18], "frozen_occupied_orbital_space": [0, 1, 2], "active_occupied_orbital_space": [3, 4], "frozen_virtual_orbital_space": [], "active_virtual_orbital_space": [5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18], "frozen_orbitals_truncated": [0, 1, 2, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18], "frozen_virtual_orbital_space_truncated": [6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18], "active_virtual_orbital_space_truncated": [5], "mp2_correlation": -0.06406964690618673, "mp2_active_space_correlation": -0.008038158436627307, "correction": -0.05603148846955942, "mo_coefficients": {"s3_url": "https://qemistmocoefficients.s3.us-west-2.amazonaws.com/e767f30e40ac36b740383016acc2eecc934c47820f6f8701b1fb38cf6db9477f", "s3_bucket_name": "qemistmocoefficients", "key": "e767f30e40ac36b740383016acc2eecc934c47820f6f8701b1fb38cf6db9477f"}, "mean_field_energy": -100.01941870308707, "num_elec": 10, "num_basis": 7, "num_occupied": 5, "num_virtual": 14, "problem_handle": 9, "epsilon": -0.028171757743081116}}}, "mean_field_energy": -100.01941870308707, "num_elec": 10, "num_basis": 7, "num_occupied": 5, "num_virtual": 14}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added examples/img/mifno.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading