10
0
mirror of https://github.com/LCPQ/quantum_package synced 2024-10-20 14:58:19 +02:00
quantum_package/docs/source/users_guide/printing.rst
2019-01-11 19:37:06 +01:00

34 lines
1.2 KiB
ReStructuredText

Printing the near |FCI| wave function
=====================================
Once obtained the near |FCI| energy, one can also take a closer look at the wave function stored in the |EZFIO| database.
If the wave function contains less than :math:`10^4` determinants, you can directly read it with the
:ref:`qp_edit` command. Just run
.. code::
qp_edit hcn
.. important::
The :ref:`qp_edit` mode virtually makes human-friendly the architecture of the |EZFIO| database
through *vim*-like editor.
Then, look for the word "hand" when you are in the :ref:`qp_edit` mode. If the research is negative,
then it means that the wave function stored in the |EZFIO| database is too large to be edited
interactively in :ref:`qp_edit` mode. An alternative is to use the :command:`print_wf` command:
.. code::
qp_run print_wf hcn | tee hcn.fci_natorb.wf
This program will, by default, print out the first :math:`10^4` determinants whatever the size of the wave function stored in the |EZFIO| folder. If you want to change the number of printed Slater determinants, just change the :option:`determinants n_det_print_wf` keyword using the :ref:`qp_edit` tool.
.. seealso::
The documentation of the :ref:`print_wf` program.