Skip to main content

Qsymm

Install with pip install wtih conda pipeline status coverage report docs status

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

summary of methods

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:

  • Model is used to store symbolic Hamiltonians that may depend on momenta and other free parameters. We use sympy for symbolic manipulation, but our implementation utilizes numpy arrays for efficient calculations with matrix valued functions.

  • PointGroupElement and ContinuousGroupGenerator are used to store symmetry operators. Besides the ability to combine symmetries, they can also be applied to a Model to transform it.

We implement algorithms that form a two-way connection between Hamiltonian families and symmetries.

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)

Source distribution for qsymm 1.4.0
File Size Uploaded Provenance
qsymm-1.4.0.tar.gz 132.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for qsymm 1.4.0
File Interpreter ABI Platform
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.

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