We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e371004 commit 600878aCopy full SHA for 600878a
intro/05-qwalk.py
@@ -81,7 +81,13 @@
81
while not vopt_manager.completed:
82
vopt_manager.nextstep()
83
84
+print(vopt_manager.reader.output['sigma'])
85
+import matplotlib.pyplot as plt
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')
91
# So what just happened here?
92
# After setting up the calculation, we called `nextstep` repeatedly and the QWalk manager:
93
# * Noticed the PySCF run was not complete, and ran the PySCF run.
paths.yaml paths_example.yaml
0 commit comments