Skip to main content

Python package for making QDng calculations inputs

Module:

  • inpxml.py: InpXML class with methods designed for the creation of xml structures intended as input files for quantum chemistry calculations with QDng package. Requires lxml.

Example:

In: mCO = 1240 T = {'head':'T', 'name':"GridNablaSq", 'mass':mCO} Vg = {'head':'V', 'name':"GridPotential", 'file':'pot_Vg'} Ve = {'head':'V', 'name':"GridPotential", 'file':'pot_Ve'} mel = {'head':'m0.0', 'name':'Sum', 'Opes':[T, Vg]}

Hparams = {'type':'Sum', 'Mels':mel} 
WFpar = {'type':'file', 'states':1, 'file':'wfguess', 'normalize':False}
propapar = {'dt': 0.165697, 'steps': 500, 'wcycle': 100, 'dir': 'propa_files', 'nfile': 'norm'}

prop = InpXML()
prop.program('propa', propapar, WFpar)
prop.propagation('Cheby', Hparams)
prop.addfilter('filterpost', {'expeconly':{'name':'Flux', 'int':'True'}})
prop.show()

Out:

<qdng>
  <propa dt="0.165697" steps="500" wcycle="100" dir="propa_files" nfile="norm">
   <propagator name="Cheby">
      <hamiltonian name="Sum">
        <T name="GridNablaSq" mass="1240"/>
        <V name="GridPotential" file="pot_Vg"/>
      </hamiltonian>
    </propagator>
    <wf file="wfguess"/>
    <filterpost>
      <expeconly name="Flux" int="True"/>
    </filterpost>
  </propa>
</qdng>

Release files for pqinput 0.0.321

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pqinput 0.0.321
File Size Uploaded
pqinput-0.0.321.tar.gz 10.9 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for pqinput 0.0.321
File Interpreter ABI Platform
pqinput-0.0.321-py3-none-any.whl Python 3 none any Details
pqinput-0.0.321-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 40.6 kB

Release files / pqinput-0.0.321.tar.gz

Download URL pqinput-0.0.321.tar.gz
Size 10.9 kB
Tags Source
SHA-256 checksum
How to use checksums
9e609161acba89be0145f297fc2a2eb342afe50aaf3c34c1476813cfdc7dd4ba
BLAKE2b-256 checksum
How to use checksums
645686e8bd3c2198c88ee8def89fa8048783b2809f3929213b17b58fa42cf723
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Release files / pqinput-0.0.321-py3-none-any.whl

Download URL pqinput-0.0.321-py3-none-any.whl
Size 11.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4270cda80c69d4b2403230604f915cd414c3b72d4fea23506d37d2a84b7513c4
BLAKE2b-256 checksum
How to use checksums
20c3bbbbf5fda1046e8f8a6eabd97497073c1fd278b3fb761e01004785dfb2c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Release files / pqinput-0.0.321-py2.py3-none-any.whl

Download URL pqinput-0.0.321-py2.py3-none-any.whl
Size 18.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
03ed3bc20373f83e42aabea0605bec57c364bbae0cf533a1f5c48ffc89b0d4be
BLAKE2b-256 checksum
How to use checksums
aee260c1c8b63d2e14ca4dea02a9a4a2613df5b05d1bc4c4ab711b37f8d4bddf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Release history Release notifications | RSS feed

This release

0.0.321 This release

3 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

3 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page