Download Qbox User Guide
Transcript
atom Si4 silicon 0.000 -2.000 0.000 defines a sample in a cubic unit cell of size 20 a.u. (Bohr radii). The sample consists of a 4-atom silicon cluster. The definition of the species “silicon” is given in the file silicon.xml. A species definition document contains all the information needed to describe an atomic species, including the pseudopotential used to represent the electron-ion interaction. Species can also be defined by a URI as in the following command species carbon http://www.example.org/species/carbon.xml Species definition documents are XML documents that follow the syntax defined by the http://www.quantum-simulation.org XML Schema definition. 4 Examples of use of Qbox 4.1 Electronic structure of a Si4 cluster The following example shows how to use Qbox to compute the electronic ground state of a silicon 4atom cluster. Approximate input atomic coordinates are used. The electronic ground state is computed using 200 iterations of the preconditioned steepest descent algorithm with Anderson acceleration (PSDA). # example: electronic structure set cell 20 0 0 0 20 0 0 0 20 species silicon silicon.xml atom Si1 silicon 3.500 0.000 atom Si2 silicon 0.000 2.000 atom Si3 silicon -3.000 0.000 atom Si4 silicon 0.500 -2.000 set ecut 12 set wf_dyn PSDA set ecutprec 4 randomize_wf run 0 200 of si4 0.000 0.000 0.000 0.000 4.2 Structure optimization The following example shows how to optimize the structure of a Si4 cluster. The electronic ground state is computed using 200 iterations of the preconditioned steepest descent algorithm (PSDA). The structure is then optimized using 50 steps of the steepest descent with Anderson acceleration (SDA) algorithm. Five steps of electronic optimization are performed before each ionic step. # example: structure optimization of Si4 set cell 20 0 0 0 20 0 0 0 20 species silicon silicon.xml atom Si1 silicon 3.500 0.000 0.000 atom Si2 silicon 0.000 2.000 0.000 atom Si3 silicon -3.500 0.000 0.000 atom Si4 silicon 0.000 -2.000 0.000 set ecut 12 set wf_dyn PSDA set ecutprec 4 randomize_wf