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.0.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.0-cp313-cp313-win_amd64.whl (2.3 MB view details)

Uploaded CPython 3.13Windows x86-64

struqture_py-2.4.0-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.0-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.0-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.0-cp312-cp312-win_amd64.whl (2.3 MB view details)

Uploaded CPython 3.12Windows x86-64

struqture_py-2.4.0-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.0-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.0-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.0-cp311-cp311-win_amd64.whl (2.3 MB view details)

Uploaded CPython 3.11Windows x86-64

struqture_py-2.4.0-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.0-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.0-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.0-cp310-cp310-win_amd64.whl (2.3 MB view details)

Uploaded CPython 3.10Windows x86-64

struqture_py-2.4.0-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.0-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.0-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.0.tar.gz.

File metadata

  • Download URL: struqture_py-2.4.0.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.0.tar.gz
Algorithm Hash digest
SHA256 bf25804766720b01abca1288c18566d12acce48a73dfc2ffb3e05391f7f943af
MD5 4bf7ab4e3f91f4470945282dfee58b87
BLAKE2b-256 5f0286a09d0c6eb77043eb8c9fdcf22ac962e193544633488aa1117c2a1bb98d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for struqture_py-2.4.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 c3dc7b231a66109d1ca633686273f57424f64853135b51325c90f3248564dce0
MD5 e1cb2a3dbd3396280c4d3d3263562b34
BLAKE2b-256 798870ba10b767d3879228d52dfcd981a1dc79ed9e50c1bd6d83b5054646dd55

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for struqture_py-2.4.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6ce52c3f8c4f14f8a051053ebcaa454e9cd1b5098a40dff802c40afc0305b867
MD5 284b0375eb7c0d80a7b51561497cb98f
BLAKE2b-256 edb88664afd2a81f247f57ceae916c82d6d08e6a24abf677723f222e0ba365b6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for struqture_py-2.4.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 e09dfcaacacb6fbc7b4a0beb7ad2b07417242b9cac3e71f1a0379c665c608552
MD5 ae427029ed87faa9ac00e1f36aa3c843
BLAKE2b-256 6da16780aa10a6e9678a6b9c5522abf12d61c15a93ee616bd1d062473b04ce24

See more details on using hashes here.

File details

Details for the file struqture_py-2.4.0-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.0-cp313-cp313-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 c4a297a4a6a9cccf1346fc3399eccd4d16d5c0588837c5e6a692b1cb39f160fb
MD5 59d954a8bb3b7851e38cf1089835a673
BLAKE2b-256 1411680f4f7cacf9d060524bd208c7ec36e6ccb7c9efa9ba55cd7233f4048612

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for struqture_py-2.4.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 850250115c2cf9317e94e7ff5382af5e83dfd0f97966e2dd5acc9c68a3ba1d5c
MD5 a69d19fccfa23fa7e7f889d76669da1a
BLAKE2b-256 542809bf9f8f6ab20babda543b75271f7e618a3ec8b9f2b2258b6ed286372156

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for struqture_py-2.4.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9b7f74d491c5c5c600a07e1faa86685cffc0c3241311a64c0013e4df2870b8d5
MD5 544d79a1837fb49981835e6ed0439343
BLAKE2b-256 3408825fe7ce5436a1733dc71aa8cfe970e78b9b1b8d726195ed7b1cdcc15667

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for struqture_py-2.4.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 a8189d56a3df2ac2e8b01871aaca737c26f7827f6314ea936be10598a528c4c2
MD5 4ac9d2533af071df9e136cee8cd38b52
BLAKE2b-256 16f86d0054cbe8614a737d405582bab7e009f31a8419efea3258f52a7bee035d

See more details on using hashes here.

File details

Details for the file struqture_py-2.4.0-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.0-cp312-cp312-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 b8a33d5309c0700ce6b8d814eeb56e5418b4b885e29e183889672687d311fa06
MD5 c377bea90e4aabcd9e23174bca9b44cc
BLAKE2b-256 d72a40982f50f8c868d8303d1f5f0e4cbac4aa6470756797da34e3545eaf6807

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for struqture_py-2.4.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 447bbbfdddf6450ebdf6637f099a7c04f76f2878a8bf4f87c87736448b11a854
MD5 ae021769d0926035021b332564fa5fe1
BLAKE2b-256 ec789bb3f29199188e901cbb5215b624d9c5d6ff9de097d4c7e6334e075e2a22

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for struqture_py-2.4.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 48514c029dc133a97ad378edbef09fd41814a4a5031e0b53127bf560711eddc6
MD5 ab15196a2fd69fd78a810223157564b5
BLAKE2b-256 39e7b8fb7afb48c8afe621b70bf433c72cc49e2523972b2f3ffecdb00d0b8cb0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for struqture_py-2.4.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 7cf59adcc8249ea4b02ca29d1af310e236725882a9bd4a8ce5d960c4ac348a37
MD5 032535633025dca1717a7269984e71f2
BLAKE2b-256 91ae94fc9a996394c5869948e9265d5d086ad3e17853e452e64e42408e9e6e47

See more details on using hashes here.

File details

Details for the file struqture_py-2.4.0-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.0-cp311-cp311-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 efca3970cb9b8e49ce313eb6001d5a6698583ebdde929b888bfe965f808d39dc
MD5 889f0968ad822dd8703898d86e0037bb
BLAKE2b-256 d420edcc51a5863a27248484af1aec90322fe2691923dbcf76a6150a12587cf1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for struqture_py-2.4.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 573cb2fd9771a6285c224d8861e97078bf73e2a5feada652c4230af883001bea
MD5 f6e06d55692b2b42aa1595d1e373ebc9
BLAKE2b-256 a8c4c294f2918466e68495829622ed0c5b6901559efdbf1af942350bab4994dc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for struqture_py-2.4.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d07441732ce478f676818e0d47a631b007345fe93e442d0c0c0dc937d516c55f
MD5 c9babd3acb3d4894dba5378d5c979338
BLAKE2b-256 c260fa6d0dba935da3c9d0e3f28085c62e93925e1098d4dec99876a2854d986d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for struqture_py-2.4.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 f4ed2a58790ce7e6e524592090b2341aa258442161ffec8eb53249301cb283c0
MD5 a5e5a9259c7a5282dd8d61fe827c1e53
BLAKE2b-256 29cdd0a4dfb8dd5bf79c75a4cfedebcae11d9658f4c17dd20aad056e69693beb

See more details on using hashes here.

File details

Details for the file struqture_py-2.4.0-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.0-cp310-cp310-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 613a70344b0fd9976680954f9a21f98f3d491dcbe89e42d8e95c3e1f6503153e
MD5 1f45a54c2fb45ab9b67f840325202eec
BLAKE2b-256 bb8174411ad5bca2e6961a4fec10b9156e60b63a4e737826ce9c7eed59b58595

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