Skip to content

Commit 01798cf

Browse files
committed
Merge branch 'master' into local-spahm
2 parents ee99262 + 5ca8026 commit 01798cf

File tree

287 files changed

+29008
-316
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

287 files changed

+29008
-316
lines changed

.github/workflows/python-package-conda-cache.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,12 @@ on:
1111
push:
1212
branches:
1313
- '*'
14-
1514
pull_request:
1615
branches:
1716
- '*'
18-
1917
schedule:
20-
- cron: '0 0 * * *'
18+
- cron: '0 0 * * 1'
19+
workflow_dispatch:
2120

2221
env:
2322
CACHE_NUMBER: 0 # increase to reset cache manually

README.md

Lines changed: 34 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,16 @@ Q-stack
1616

1717
## About [](#contents)
1818

19-
Q-stack is a stack of codes for dedicated pre- and post-processing tasks for Quantum Machine Learning (QML). It is a work in progress, and will be updated soon.
19+
Q-stack is a stack of codes for dedicated pre- and post-processing tasks for Quantum Machine Learning (QML). It is a work in progress. Stay tuned for updates!
2020

2121
For now, we link to the relevant packages that will be incorporated (among others):
22-
- https://github.com/lcmd-epfl/azo-xcite-tools
23-
- https://github.com/lcmd-epfl/SPAHM
24-
- https://github.com/lcmd-epfl/RHO-Decomposition
25-
- https://github.com/lcmd-epfl/ml-density
26-
- https://github.com/lcmd-epfl/OTPD-basis
27-
28-
Stay tuned for updates!
29-
22+
- [x] https://github.com/lcmd-epfl/azo-xcite-tools
23+
- [x] https://github.com/lcmd-epfl/SPAHM
24+
- [x] https://github.com/lcmd-epfl/RHO-Decomposition
25+
- [ ] https://github.com/lcmd-epfl/ml-density
26+
- [x] https://github.com/lcmd-epfl/OTPD-basis
27+
- [x] https://github.com/lcmd-epfl/b2r2-reaction-rep
28+
3029
## Install [](#contents)
3130

3231
The installation of the library for python use can be done executing the following commands:
@@ -53,34 +52,45 @@ python example_opt.py
5352
```
5453
python example_SPAHM.py
5554
```
55+
- An example for the structure-based reaction representations ($B^2R^2$ and $\mathrm{SLATM}_d$) will follow shortly
5656

5757

5858
## References [](#contents)
5959

6060
* A. Fabrizio, A. Grisafi, B. Meyer, M. Ceriotti, and C. Corminboeuf,
61-
“Electron density learning of non-covalent systems”,
62-
Chem. Sci. **10**, 9492 (2019)
63-
[![DOI](https://img.shields.io/badge/DOI-10.1039%2FC9SC02696G-blue)](https://doi.org/10.1039/C9SC02696G)
61+
“Electron density learning of non-covalent systems”,
62+
Chem. Sci. **10**, 9492 (2019)
63+
[![DOI](https://img.shields.io/badge/DOI-10.1039%2FC9SC02696G-blue)](https://doi.org/10.1039/C9SC02696G)
6464

6565
* A. Fabrizio, K. R. Briling, D. D. Girardier, and C. Corminboeuf,
66-
“Learning on-top: regressing the on-top pair density for real-space visualization of electron correlation”,
67-
J. Chem. Phys. **153**, 204111 (2020)
68-
[![DOI](https://img.shields.io/badge/DOI-10.1063%2F5.0033326-blue)](https://doi.org/10.1063/5.0033326)
66+
“Learning on-top: regressing the on-top pair density for real-space visualization of electron correlation”,
67+
J. Chem. Phys. **153**, 204111 (2020)
68+
[![DOI](https://img.shields.io/badge/DOI-10.1063%2F5.0033326-blue)](https://doi.org/10.1063/5.0033326)
6969

7070
* S. Vela, A. Fabrizio, K. R. Briling, and C. Corminboeuf,
71-
“Machine-learning the transition density of the productive excited states of azo-dyes”
72-
J. Phys. Chem. Lett. **12**, 5957–5962 (2021).
73-
[![DOI](https://img.shields.io/badge/DOI-10.1021%2Facs.jpclett.1c01425-blue)](https://doi.org/10.1021/acs.jpclett.1c01425)
71+
“Machine-learning the transition density of the productive excited states of azo-dyes”
72+
J. Phys. Chem. Lett. **12**, 5957–5962 (2021)
73+
[![DOI](https://img.shields.io/badge/DOI-10.1021%2Facs.jpclett.1c01425-blue)](https://doi.org/10.1021/acs.jpclett.1c01425)
7474

7575
* K. R. Briling, A. Fabrizio, and C. Corminboeuf,
76-
“Impact of quantum-chemical metrics on the machine learning prediction of electron density”,
77-
J. Chem. Phys. **155**, 024107 (2021)
78-
[![DOI](https://img.shields.io/badge/DOI-10.1063/5.0055393-blue)](https://doi.org/10.1063/5.0055393)
76+
“Impact of quantum-chemical metrics on the machine learning prediction of electron density”,
77+
J. Chem. Phys. **155**, 024107 (2021)
78+
[![DOI](https://img.shields.io/badge/DOI-10.1063/5.0055393-blue)](https://doi.org/10.1063/5.0055393)
7979

8080
* A. Fabrizio, K. R. Briling, and C. Corminboeuf,
81-
“SPAHM: the Spectrum of Approximated Hamiltonian Matrices representations”,
82-
Digital Discovery, *1*, 286–294 (2022)
83-
[![DOI](https://img.shields.io/badge/DOI-10.1039/D1DD00050K-blue)](https://doi.org/10.1039/D1DD00050K)
81+
“SPAHM: the Spectrum of Approximated Hamiltonian Matrices representations”,
82+
Digital Discovery **1**, 286–294 (2022)
83+
[![DOI](https://img.shields.io/badge/DOI-10.1039/D1DD00050K-blue)](https://doi.org/10.1039/D1DD00050K)
84+
85+
* K. R. Briling, Y. Calvino Alonso, A. Fabrizio, and C. Corminboeuf,
86+
“SPAHM(a,b): Encoding the Density Information from Guess Hamiltonian in Quantum Machine Learning Representations”,
87+
J. Chem. Theory Comput. **20**, 1108–1117 (2024)
88+
[![DOI](https://img.shields.io/badge/DOI-10.1021/acs.jctc.3c01040-blue)](https://doi.org/10.1021/acs.jctc.3c01040)
89+
90+
* P. van Gerwen, A. Fabrizio, M. Wodrich, and C. Corminboeuf,
91+
“Physics-based representations for machine learning properties of chemical reactions”,
92+
Mach. Learn.: Sci. Technol. **3**, 045005 (2022)
93+
[![DOI](https://img.shields.io/badge/DOI-10.1088/2632--2153/ac8f1a-blue)](https://doi.org/10.1088/2632-2153/ac8f1a)
8494

8595

8696
## Acknowledgements [](#contents)

docs/Makefile

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Minimal makefile for Sphinx documentation
2+
#
3+
4+
# You can set these variables from the command line, and also
5+
# from the environment for the first two.
6+
SPHINXOPTS ?=
7+
SPHINXBUILD ?= sphinx-build
8+
SOURCEDIR = source
9+
BUILDDIR = build
10+
11+
# Put it first so that "make" without argument is like "make help".
12+
help:
13+
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
14+
15+
.PHONY: help Makefile
16+
17+
# Catch-all target: route all unknown targets to Sphinx using the new
18+
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
19+
%: Makefile
20+
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
411 KB
Binary file not shown.

docs/build/doctrees/index.doctree

41.7 KB
Binary file not shown.

docs/build/doctrees/modules.doctree

2.63 KB
Binary file not shown.
30.6 KB
Binary file not shown.

docs/build/doctrees/qstack.doctree

90.7 KB
Binary file not shown.
145 KB
Binary file not shown.
78.3 KB
Binary file not shown.
69 KB
Binary file not shown.

docs/build/html/.buildinfo

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Sphinx build info version 1
2+
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
3+
config: 450e7a1e3bad33915566791df8961235
4+
tags: 645f666f9bcd5a90fca523b33c5a78b7

docs/build/html/_images/ackw.png

76.2 KB
Loading

docs/build/html/_images/logo.png

708 KB
Loading
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
.. Q-stack documentation master file, created by
2+
sphinx-quickstart on Wed Feb 1 16:22:53 2023.
3+
You can adapt this file completely to your liking, but it should at least
4+
contain the root `toctree` directive.
5+
6+
Welcome to Q-stack's documentation!
7+
===================================
8+
9+
.. toctree::
10+
:maxdepth: 1
11+
:caption: Contents:
12+
13+
modules
14+
15+
.. include:: ../../README.md
16+
:parser: myst_parser.sphinx_
17+
18+
19+
To do List
20+
==========
21+
22+
.. todolist::
23+
24+
Indices and tables
25+
==================
26+
27+
* :ref:`genindex`
28+
* :ref:`modindex`
29+
* :ref:`search`
30+
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
qstack
2+
======
3+
4+
.. toctree::
5+
:maxdepth: 4
6+
7+
qstack
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
qstack.basis\_opt package
2+
=========================
3+
4+
Submodules
5+
----------
6+
7+
qstack.basis\_opt.basis\_tools module
8+
-------------------------------------
9+
10+
.. automodule:: qstack.basis_opt.basis_tools
11+
:members:
12+
:undoc-members:
13+
:show-inheritance:
14+
15+
qstack.basis\_opt.opt module
16+
----------------------------
17+
18+
.. automodule:: qstack.basis_opt.opt
19+
:members:
20+
:undoc-members:
21+
:show-inheritance:
22+
23+
Module contents
24+
---------------
25+
26+
.. automodule:: qstack.basis_opt
27+
:members:
28+
:undoc-members:
29+
:show-inheritance:
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
qstack.fields package
2+
=====================
3+
4+
Submodules
5+
----------
6+
7+
qstack.fields.decomposition module
8+
----------------------------------
9+
10+
.. automodule:: qstack.fields.decomposition
11+
:members:
12+
:undoc-members:
13+
:show-inheritance:
14+
15+
qstack.fields.density2file module
16+
---------------------------------
17+
18+
.. automodule:: qstack.fields.density2file
19+
:members:
20+
:undoc-members:
21+
:show-inheritance:
22+
23+
qstack.fields.dm module
24+
-----------------------
25+
26+
.. automodule:: qstack.fields.dm
27+
:members:
28+
:undoc-members:
29+
:show-inheritance:
30+
31+
qstack.fields.excited module
32+
----------------------------
33+
34+
.. automodule:: qstack.fields.excited
35+
:members:
36+
:undoc-members:
37+
:show-inheritance:
38+
39+
qstack.fields.hf\_otpd module
40+
-----------------------------
41+
42+
.. automodule:: qstack.fields.hf_otpd
43+
:members:
44+
:undoc-members:
45+
:show-inheritance:
46+
47+
qstack.fields.hirshfeld module
48+
------------------------------
49+
50+
.. automodule:: qstack.fields.hirshfeld
51+
:members:
52+
:undoc-members:
53+
:show-inheritance:
54+
55+
qstack.fields.moments module
56+
----------------------------
57+
58+
.. automodule:: qstack.fields.moments
59+
:members:
60+
:undoc-members:
61+
:show-inheritance:
62+
63+
Module contents
64+
---------------
65+
66+
.. automodule:: qstack.fields
67+
:members:
68+
:undoc-members:
69+
:show-inheritance:
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
qstack.regression package
2+
=========================
3+
4+
Submodules
5+
----------
6+
7+
qstack.regression.condition module
8+
----------------------------------
9+
10+
.. automodule:: qstack.regression.condition
11+
:members:
12+
:undoc-members:
13+
:show-inheritance:
14+
15+
qstack.regression.final\_error module
16+
-------------------------------------
17+
18+
.. automodule:: qstack.regression.final_error
19+
:members:
20+
:undoc-members:
21+
:show-inheritance:
22+
23+
qstack.regression.hyperparameters module
24+
----------------------------------------
25+
26+
.. automodule:: qstack.regression.hyperparameters
27+
:members:
28+
:undoc-members:
29+
:show-inheritance:
30+
31+
qstack.regression.kernel module
32+
-------------------------------
33+
34+
.. automodule:: qstack.regression.kernel
35+
:members:
36+
:undoc-members:
37+
:show-inheritance:
38+
39+
qstack.regression.kernel\_utils module
40+
--------------------------------------
41+
42+
.. automodule:: qstack.regression.kernel_utils
43+
:members:
44+
:undoc-members:
45+
:show-inheritance:
46+
47+
qstack.regression.oos module
48+
----------------------------
49+
50+
.. automodule:: qstack.regression.oos
51+
:members:
52+
:undoc-members:
53+
:show-inheritance:
54+
55+
qstack.regression.regression module
56+
-----------------------------------
57+
58+
.. automodule:: qstack.regression.regression
59+
:members:
60+
:undoc-members:
61+
:show-inheritance:
62+
63+
Module contents
64+
---------------
65+
66+
.. automodule:: qstack.regression
67+
:members:
68+
:undoc-members:
69+
:show-inheritance:
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
qstack package
2+
==============
3+
4+
Subpackages
5+
-----------
6+
7+
.. toctree::
8+
:maxdepth: 4
9+
10+
qstack.basis_opt
11+
qstack.fields
12+
qstack.regression
13+
qstack.spahm
14+
15+
Submodules
16+
----------
17+
18+
qstack.compound module
19+
----------------------
20+
21+
.. automodule:: qstack.compound
22+
:members:
23+
:undoc-members:
24+
:show-inheritance:
25+
26+
qstack.constants module
27+
-----------------------
28+
29+
.. automodule:: qstack.constants
30+
:members:
31+
:undoc-members:
32+
:show-inheritance:
33+
34+
qstack.equio module
35+
-------------------
36+
37+
.. automodule:: qstack.equio
38+
:members:
39+
:undoc-members:
40+
:show-inheritance:
41+
42+
qstack.tools module
43+
-------------------
44+
45+
.. automodule:: qstack.tools
46+
:members:
47+
:undoc-members:
48+
:show-inheritance:
49+
50+
Module contents
51+
---------------
52+
53+
.. automodule:: qstack
54+
:members:
55+
:undoc-members:
56+
:show-inheritance:

0 commit comments

Comments
 (0)