File tree 3 files changed +10
-5
lines changed
3 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -5,19 +5,18 @@ Goal: Provide tools that make it easy to manage and store QWalk runs.
5
5
6
6
# Getting started.
7
7
8
- Run ` setup.py ` to fill in the locations of packages you may want to use with autogen, such as Crystal or PySCF.
9
- - without this step autogen will not be able to run any executibles.
8
+ Copy paths_example.yaml to paths.yaml and edit for your locations.
9
+
10
+ Run ` setup.py `
10
11
11
12
Check out the intro folder, which constains a set of jupyter notebooks to help you understand how this package works.
12
13
Alternative python scripts (which are just python downloads of the notebooks) are also there.
13
14
14
- Working through all the notebooks should only take ~ 10 minutes.
15
-
16
15
You can also checkout ` tests/simple_test.py ` for a more useful template to build scripts from.
17
16
18
17
# Troubleshooting
19
18
20
- - autogen can't find an executible .
19
+ - autogen can't find an executable .
21
20
- Make sure you've run ` setup.py ` .
22
21
- The notebooks keep saying 'file not found'?
23
22
- If you have any error when running the notebook, try restarting the kernel.
Original file line number Diff line number Diff line change 81
81
while not vopt_manager .completed :
82
82
vopt_manager .nextstep ()
83
83
84
+ print (vopt_manager .reader .output ['sigma' ])
85
+ import matplotlib .pyplot as plt
84
86
87
+ plt .plot (vopt_manager .reader .output ['sigma' ])
88
+ plt .ylabel ("Standard deviation of energy" )
89
+ plt .xlabel ("Optimization iteration" )
90
+ plt .savefig ("05-qwalk_variance.pdf" ,bbox_inches = 'tight' )
85
91
# So what just happened here?
86
92
# After setting up the calculation, we called `nextstep` repeatedly and the QWalk manager:
87
93
# * Noticed the PySCF run was not complete, and ran the PySCF run.
File renamed without changes.
You can’t perform that action at this time.
0 commit comments