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.2.tar.gz (400.6 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.2-cp313-cp313-win_amd64.whl (2.3 MB view details)

Uploaded CPython 3.13Windows x86-64

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

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.11Windows x86-64

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

Uploaded CPython 3.10Windows x86-64

struqture_py-2.4.2-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.2-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.2-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.2.tar.gz.

File metadata

  • Download URL: struqture_py-2.4.2.tar.gz
  • Upload date:
  • Size: 400.6 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.2.tar.gz
Algorithm Hash digest
SHA256 72686d65819ae44e4b2dd350e4039c7015dc2e29b50777267e6417cfedefbd0b
MD5 663b4e4aff55138c2ebfe166e1cf51f4
BLAKE2b-256 6bf7a92eefeb187dfe4fbe2f2134814103a694f8aa2e5dbbbab7708fa0316955

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for struqture_py-2.4.2-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 de2d0575cde1c1da7af59cc37f8fbd260da54de1dc1f3afc9bc551b76c4837ea
MD5 5ebbf85152ce3e84b405b756ceb92cd5
BLAKE2b-256 76a64f59a2ba7705edd3629fb1927db48039c71b464de826b8ac74a0ad812a27

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for struqture_py-2.4.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b755311f42031169b57b454eff41c6b6994f8d5f3da45a6dc73c12c813d569f8
MD5 631de5e0f9900abb0922845f7951129c
BLAKE2b-256 c5805a57dfb87a30d5db458d335e74a20732e9e58d563dd29c24715a5541f94d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for struqture_py-2.4.2-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 d4064fc55cb13172163685f515d2c4d40d876277ed3ec824112fad5513f66b43
MD5 774946a2c95d7ef4c663d732989463d6
BLAKE2b-256 2f98472a82d53bfb482c534f0a8f1cd72cba87f303ace1cd55be7a86adc70bae

See more details on using hashes here.

File details

Details for the file struqture_py-2.4.2-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.2-cp313-cp313-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 07dc4a177964bdb4e0b7f3e7af6542f5cd31924609faee3738307c9a4e231375
MD5 2baee8435b2faf79141b0d90bb3c06b5
BLAKE2b-256 eb0d0458a9f5014a459425f4f9d6f644cd7d0972ac57cee36160de52f663791b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for struqture_py-2.4.2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 e230208def4eda7915890a4c3bd792396321e20ce91958f2dbc85284a705fea5
MD5 b35c711dac27610d9b7de3c4322726d0
BLAKE2b-256 ba12d1fec9fd142337294565e37fc6ce850b6f56974c03a772974865e24b9430

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for struqture_py-2.4.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 bf73bd863b7289d5a6764c7a5d18c477d02626dd27bbdc61d69c3ee3dfb19910
MD5 b8b49591da24ec090d377c94abaa5c72
BLAKE2b-256 4677f091f8d20b93f6c682821f2384295828b79e49b47af70f88be7c2ae769a4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for struqture_py-2.4.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 c344971764f9bb16a87d114a3f6b3bf9e754c40d632a2a78806e340098ebc91c
MD5 2f2ac79f1b4f424ed9e126d8e4e8b475
BLAKE2b-256 5577c8c1263cc285ce9c7d0ed6fcaad38c80ae5e7869429fc6a3063bf7bd1dbf

See more details on using hashes here.

File details

Details for the file struqture_py-2.4.2-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.2-cp312-cp312-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 93f64c8adb09e94e5b835793b0fbf4d21edac8e9df2e4452a6952d95a5d50a1d
MD5 179b83bcaf37a73c21e87dc55657358c
BLAKE2b-256 b4fb10a147c6a1bff840a729a82c93612db1d16b3a2a5d756bda10f9ef45ad05

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for struqture_py-2.4.2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 6c0fd2fc924a0732e3294adb6824c443d952fa2dcacf22738319e7047879536b
MD5 b4cf6e6efc1a3ac9ec2792aacf9bd685
BLAKE2b-256 e48ac0d05a2a76747ffb01bbf12952447f1c89c725f3d023982efca8a8dead59

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for struqture_py-2.4.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f647ed9a111032e8f13ebe6341104a3ff84450ab990ae2397ee6ca23a85a3370
MD5 e2c35dd4a97aafe97daea32cbad9bd96
BLAKE2b-256 3190e39d96b5257204ad97e0db032f24b879861097864a77c468c43696e0b985

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for struqture_py-2.4.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 1e06ada053a0b8b64f6cc8bede918da4699973709be8c35427750c9eff68bce6
MD5 e1755e2f60adcf3f83efc966377260d1
BLAKE2b-256 7fdf301b5bd9f1cb6eedca9a8bfbda81133f25c45fbbe471708d9dc90123f6ee

See more details on using hashes here.

File details

Details for the file struqture_py-2.4.2-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.2-cp311-cp311-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 1134352044ce9c0ae30c0de578ff4b158b392b0c0d9bc5eb56a0261bee514ec6
MD5 7c727d2bc8ba1d1256b2cec64cd4ddbd
BLAKE2b-256 039ad3cbb6a7fc71639e47be0b0d7d0010c2708e451f3455beda0f87096d554d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for struqture_py-2.4.2-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 02e9210e0d1833d461b9384e5ed4995ce7931d1981e2772d331b42b6ee6eb929
MD5 1685b4f02803a04b1a13977d4abda59b
BLAKE2b-256 d12cc87e6fdde6c6339fe20b3168a32ca7b241a92f9c620489d0cfc54a2fe19f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for struqture_py-2.4.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 86546da21392fdcaa53de8127a39f9f90e9c69d2276dbc93a14e3d7d2959b3df
MD5 a51ff89e8a058b4414a25f34e8849866
BLAKE2b-256 f682a2a06ac3bb96f393f7ddae42a548cbffda113b46c8b7feea4f220a4b6600

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for struqture_py-2.4.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 ec7465750174f03f1175deedf37af8505e199820ab4b6830c8e3738820d31368
MD5 174c7c5166c70b6ebd16743da319bf6f
BLAKE2b-256 30a9bc736f93876604373c347bed5dff624703cdda40164d88fdbc5d0f910439

See more details on using hashes here.

File details

Details for the file struqture_py-2.4.2-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.2-cp310-cp310-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 f94b49a43ffc4a2144bde1d4011488a62ac61ed7981cec425dc19a32f47f2968
MD5 201c089ac3632ce2fbab9910caffa4f3
BLAKE2b-256 b395b0fb6835a97ed759cbe0a7b257af8ed7c6c9ab4d083889ef21b3e113dc17

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