Qsymm
Symmetry finder and symmetric Hamiltonian generator
qsymm is an open-source Python library that makes symmetry analysis simple.
It automatically generates model Hamiltonians from symmetry constraints and finds the full symmetry group of your Hamiltonian.
Check out the introductory tutorial to see examples of how to use qsymm.
Implemented algorithms
The two core concepts in qsymm are Hamiltonian families (Hamiltonians that may depend on
free parameters) and symmetries. We provide powerful classes to handle these:
-
Modelis used to store symbolic Hamiltonians that may depend on momenta and other free parameters. We usesympyfor symbolic manipulation, but our implementation utilizesnumpyarrays for efficient calculations with matrix valued functions. -
PointGroupElementandContinuousGroupGeneratorare used to store symmetry operators. Besides the ability to combine symmetries, they can also be applied to aModelto transform it.
We implement algorithms that form a two-way connection between Hamiltonian families and symmetries.
-
Symmetry finding is handled by
symmetries, it takes aModelas input and finds all of its symmetries, including conserved quantities, time reversal, particle-hole, and spatial rotation symmetries. See the symmetry finder tutorial and the kekule tutorial for detailed examples. -
continuum_hamiltonianandbloch_familyare used to generate k.p or lattice Hamiltonians from symmetry constraints. See the k-dot-p generator tutorial, the Bloch generator tutorial and the kekule tutorial for detailed examples.
Installation
qsymm works with Python 3.5 and is available on PyPI:
pip install qsymm
Some of the example notebooks also require Kwant.
Documentation
Qsymm's documentation is hosted on Read the Docs
Citing
Check out CITING.md for instructions on how to cite Qsymm in your publications.
Development
qsymm is on Gitlab, visit there if you would
like to to contribute, report issues, or get the latest development version.
Metadata
Release files for qsymm 1.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| qsymm-1.4.0.tar.gz | 132.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| qsymm-1.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 214.1 kB
Release files / qsymm-1.4.0.tar.gz
| Download URL | qsymm-1.4.0.tar.gz |
|---|---|
| Size | 132.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3920e49207f597cb41706b97a15e832c342ebbbfc3d0e20207cd7318ad205221
|
|
BLAKE2b-256 checksum How to use checksums |
ed3e3aea9fb41604b8870c30e29aebafdf5dd42fa315a0077fe2da0662d9edcc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.7
|
Release files / qsymm-1.4.0-py3-none-any.whl
| Download URL | qsymm-1.4.0-py3-none-any.whl |
|---|---|
| Size | 81.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
69ca0b66ac96c5f6df7297f35830cde28709fb7275b2b49423b56b0939cca849
|
|
BLAKE2b-256 checksum How to use checksums |
80739f8bee49dd8e8b1e220ddad4f8ad9a4f67d4a58173e7dbae787d763487fa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.7
|
Security for qsymm 1.4.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.