Skip to main content

No project description provided

Reason this release was yanked:

broken install / dependencies

Project description

Struqture

Struqture is a Rust (struqture) and Python (struqture-py) library by HQS Quantum Simulations to represent quantum mechanical operators, Hamiltonians and open quantum systems. The library supports building spin objects, bosonic objects, fermionic objects and mixed system objects that contain arbitrary many spin, bosonic and fermionic subsystems.

Struqture has been developed to create and exchange definitions of operators, Hamiltonians and open systems. A special focus is the use as input to quantum computing simulation software.

struqture

To best support this use case, struqture has a number of design goals:

  • Support for arbitrary spin, bosonic, fermionic and mixed systems
  • Full serialisation support to json and other formats
  • Preventing construction of unphysical objects by using well defined types for all objects in struqture
  • Support of symbolic values in operators, Hamiltonians and open systems

Following these design goals, we prioritize using distinctive types to construct objects over a less verbose syntax. Similarly the support of symbolic expression leads to a trade-off in speed compared to an implementation using only floating point values. Struqture is designed to also support the construction and (de)serialisation of large operators but for the use in numeric algorithms we recommend transforming Operators and Hamiltonians into a sparse matrix form.

Documentation

We recommend users to start with the user documentation for stuqture and struqture-py. The user documentation is intended to give a high level overview of the design and usage of struqture. For a full list of the available data types and functions see the API-Documentation of struqture and struqture-py.

Migration guide: from struqture 1.x to struqture 2.x

The Migration Guide should be used as a reference for anyone wanting to migrate existing code which uses struqture 1.0 or above to struqture 2.0.

Installation

Python

You can install struqture_py from PyPi. For x86 Linux, Windows and macOS systems pre-built wheels are available. On other platforms a local Rust toolchain is required to compile the Python source distribution.

pip install struqture-py

Rust

You can use struqture in your Rust project by adding

struqture = { version = "1.2" }

to your Cargo.toml file.

This project has been partly supported by PlanQK and is partially supported by QSolid and PhoQuant.

Contributing

We welcome contributions to the project. If you want to contribute code, please have a look at CONTRIBUTE.md for our code contribution guidelines.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

struqture_py-2.4.1.tar.gz (397.7 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

struqture_py-2.4.1-cp313-cp313-win_amd64.whl (2.3 MB view details)

Uploaded CPython 3.13Windows x86-64

struqture_py-2.4.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

struqture_py-2.4.1-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ ARM64

struqture_py-2.4.1-cp313-cp313-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl (4.2 MB view details)

Uploaded CPython 3.13macOS 10.12+ universal2 (ARM64, x86-64)macOS 10.12+ x86-64macOS 11.0+ ARM64

struqture_py-2.4.1-cp312-cp312-win_amd64.whl (2.3 MB view details)

Uploaded CPython 3.12Windows x86-64

struqture_py-2.4.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

struqture_py-2.4.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ ARM64

struqture_py-2.4.1-cp312-cp312-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl (4.2 MB view details)

Uploaded CPython 3.12macOS 10.12+ universal2 (ARM64, x86-64)macOS 10.12+ x86-64macOS 11.0+ ARM64

struqture_py-2.4.1-cp311-cp311-win_amd64.whl (2.3 MB view details)

Uploaded CPython 3.11Windows x86-64

struqture_py-2.4.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

struqture_py-2.4.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.0 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ ARM64

struqture_py-2.4.1-cp311-cp311-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl (4.2 MB view details)

Uploaded CPython 3.11macOS 10.12+ universal2 (ARM64, x86-64)macOS 10.12+ x86-64macOS 11.0+ ARM64

struqture_py-2.4.1-cp310-cp310-win_amd64.whl (2.3 MB view details)

Uploaded CPython 3.10Windows x86-64

struqture_py-2.4.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

struqture_py-2.4.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.0 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ ARM64

struqture_py-2.4.1-cp310-cp310-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl (4.2 MB view details)

Uploaded CPython 3.10macOS 10.12+ universal2 (ARM64, x86-64)macOS 10.12+ x86-64macOS 11.0+ ARM64

File details

Details for the file struqture_py-2.4.1.tar.gz.

File metadata

  • Download URL: struqture_py-2.4.1.tar.gz
  • Upload date:
  • Size: 397.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for struqture_py-2.4.1.tar.gz
Algorithm Hash digest
SHA256 0c64903571e252b015eef4a76007535555cc73b4eb066cc83e7afdc6f386ad6c
MD5 1b1ddbef608a106efbd283bd6b01ef19
BLAKE2b-256 9ebff82bf63b05682b3f96b085937ea1dfc569062d6bfa897e32b592b2b28369

See more details on using hashes here.

File details

Details for the file struqture_py-2.4.1-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for struqture_py-2.4.1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 7e7b30f41540dc38485819e7048cd25e91566f14312540e9cd3fd958fdd81dd4
MD5 77bfbcec23619bde04d3335625143a23
BLAKE2b-256 a85f9a21b94a560c990822fef84c2ce04ca8e3a648bf60c1a65424407d243e51

See more details on using hashes here.

File details

Details for the file struqture_py-2.4.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for struqture_py-2.4.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 48a643a23fb5448444180d1466142d9c822a8ed2d4ba9bcd982cb04387668bb4
MD5 36f356adaac2de3b393bb3a6d9af9a23
BLAKE2b-256 76fee5d1f5ceb1b9becc5c543b25adc6eb56bd02de16a5d4edb387b1389a9c02

See more details on using hashes here.

File details

Details for the file struqture_py-2.4.1-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for struqture_py-2.4.1-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 b125c6d463d7f42946f00283bc3a7c16bde62557eb0e89c5c9474d68c9f1af09
MD5 6d15726ec692d56f0c6a46891b63d4f3
BLAKE2b-256 2e5744d2871e92260dad6d56827cfc67c22057b2d2bd7888a1e85937e950754e

See more details on using hashes here.

File details

Details for the file struqture_py-2.4.1-cp313-cp313-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl.

File metadata

File hashes

Hashes for struqture_py-2.4.1-cp313-cp313-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 fb95daa77282b6b8b5874bb1b5eac98d375e06252d9de425ae9f1b802ef8ebb2
MD5 2264edec0f822eafcaaed471f0259ca0
BLAKE2b-256 bff359a060f567d4f4ae8658bda30026c2a67b2d16db9c8ee33cd183d2bd7877

See more details on using hashes here.

File details

Details for the file struqture_py-2.4.1-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for struqture_py-2.4.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 7945b581be902e17a7527fad43960d9c2409318f2a0d5be7a6c57cfbfeb09dba
MD5 c3daed6b99263409301b107ab7d39246
BLAKE2b-256 12e925a6fe1ffc05675ad5b741842b5368bfc36d07a49b4fce56b1fdc8e35521

See more details on using hashes here.

File details

Details for the file struqture_py-2.4.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for struqture_py-2.4.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0e4bf5e7a5fb4a7fd106ab0ae70d471586c05e8b382209c91e1fdfe6cc7959f9
MD5 004d55edfe43bcde5b74c9a680a365e3
BLAKE2b-256 56959335ea5ac534aec1d06d1d892a3f8a681165e4762df622d0ae49b1e216a2

See more details on using hashes here.

File details

Details for the file struqture_py-2.4.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for struqture_py-2.4.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 eab518f9b67d1241f0df60c8c10e2a33d75853244f1778e0758ef795858c0d1f
MD5 44a35b28207c1a977f0406705e11df4f
BLAKE2b-256 883c0ad841628b661cfb0ba6a25bb2c9e346107e9ac5d15c4e3ccb8fa05eaded

See more details on using hashes here.

File details

Details for the file struqture_py-2.4.1-cp312-cp312-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl.

File metadata

File hashes

Hashes for struqture_py-2.4.1-cp312-cp312-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 b481216be004950fd36ac5bdfd177afaf37a792d3e43be8a38d45768f8f09ba8
MD5 8e7eee9dfca4dee03e64031189d092f7
BLAKE2b-256 630fe86a91b326a6e669ffc8e2e0df20385afba9d562c6976c8bc00556b9ca31

See more details on using hashes here.

File details

Details for the file struqture_py-2.4.1-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for struqture_py-2.4.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 46bdede43018c91555a1b77202854c4fa9ac28ac4b324ac6c4eb06b4a046a7e5
MD5 ebee87b900268ebb558763b9c652381b
BLAKE2b-256 4155101b5551c606ae9d4ea2433024ee0ca5dd7708c5f71a446fb34acbbe7206

See more details on using hashes here.

File details

Details for the file struqture_py-2.4.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for struqture_py-2.4.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e15d76c6d230fe70a3eb979d9d585e81a6f704f6e7d96db621099267eb88aca1
MD5 5752730cb7d76f59643fcfbcfa033aec
BLAKE2b-256 f64da20d00fff200fac7053d84f1a1396295bd7f4bf2059357513b1dddfec431

See more details on using hashes here.

File details

Details for the file struqture_py-2.4.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for struqture_py-2.4.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 8705f926e987c0423af543822ec1a68cbb56348a030fde3986a4d6502b16b13b
MD5 e36bdbfde7c8526ce17cfdf0c1a77aef
BLAKE2b-256 093959504a3c31f0f1ff7bfb498c34724435ee3841780b1f42d38a7d2b134925

See more details on using hashes here.

File details

Details for the file struqture_py-2.4.1-cp311-cp311-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl.

File metadata

File hashes

Hashes for struqture_py-2.4.1-cp311-cp311-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 aedfa9b57b17529b9baabbecf25f2db6cc6b9126a77bb80de373fe2eb2f8f7e3
MD5 985968200fc77a5eb0b2be215c0177b5
BLAKE2b-256 82d4834263bf8c13c565f57e66b2cd6c530c0dc6e131bc7df4fb7245d0eb3cac

See more details on using hashes here.

File details

Details for the file struqture_py-2.4.1-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for struqture_py-2.4.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 dbbebf3cd9282c6109c6dd468bfe253e121a00f231282bde1a4e6cea88048a48
MD5 cdf8b7c7cad6dd8cb648ab9bb697556c
BLAKE2b-256 e6bebf87872919102c8f1d21d373d58b8a19ca8e4800ca2fa31212526551f896

See more details on using hashes here.

File details

Details for the file struqture_py-2.4.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for struqture_py-2.4.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 90a6c79852a63946d58fb16ed28833687cea91dd2fd0a343aa3f221073de378c
MD5 8b8d423d05019f8deee676f35640c08b
BLAKE2b-256 56d8d0fec50cd11f23193ffa36d54c410d886b38b88ee18bc277520266c72280

See more details on using hashes here.

File details

Details for the file struqture_py-2.4.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for struqture_py-2.4.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 273e251dab3e4f44f7d604ca2dc5f36d7b65a5dfa85e1373758ea9078f7b4e0f
MD5 2c5487d89df26f90470f16941e785fd5
BLAKE2b-256 ed00ba935278ffaebab4fcaac22ad0505cd4cd65603d0af0b7d833886623ec2d

See more details on using hashes here.

File details

Details for the file struqture_py-2.4.1-cp310-cp310-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl.

File metadata

File hashes

Hashes for struqture_py-2.4.1-cp310-cp310-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 8425cd0bde147bf7f7293b547750918382d65e91b5d23f58a52bcb2798cf3dae
MD5 b7df05e3e18df9b3beccfad6c14ea987
BLAKE2b-256 d00e3274a28e8897da30d13e26c95cc9f7eb93fb5345885aaeca84fda99e8e36

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page