Skip to main content

PlanqTN is a tensor network quantum error correction library implementation of the quantum LEGO framework.

Project description

Unitary Foundation Library Checks UI & Docs Checks License Check API Server Checks CLI Checks Jobs Checks Cloud Integration Tests Local Integration Tests Package Publishing

Welcome to PlanqTN!

PlanqTN is the planqtn python library and the PlanqTN Studio (https://planqtn.com), an interactive studio to create, manipulate and analyze tensor network-based quantum error correcting codes.

The name is a triple entendre on Planck, quantum and Tensor Networks (TN). It is pronounced "plankton", and was inspired by the fact that each of the little tensors look like a unique plankter. Also, while we love the quantum LEGO name, we did not want to get into trademark problems.

The features are an implementation of the quantum LEGO framework by Charles Cao and Brad Lackey and the quantum LEGO expansion pack: enumerators from tensor networks by Cao, Gullans, Lackey and Wang, but we also integrate with features that automate tensor network contraction with Cotengra and take a unified approach to quantum LEGO, ZX-calculus and graph states. Check out the detailed list of PlanqTN features!

PlanqTN is open source under Apache 2.0 license and free for all, built with ❤️ by @balopat, June Vanlerberghe and hopefully a lot more future collaborators under the guiding council of Charles Cao, Brad Lackey, and Kenneth R. Brown. If building tools like this sounds like fun to you, please consider contributing!

We are supported by the Unitary Foundation.

Contributing

PlanqTN is an open source project and we would love to see contributions from you!

To chat: Find us on the #planqtn channel on the Unitary Foundation's discord server!

To get started with contributions, check out good first issues, and follow the DEVELOPMENT.md for setup, developer workflows, and design concepts.

Citing PlanqTN

Please use the following Zenodo citation to cite PlanqTN:

@software{pato_2025_16761072,
  author       = {Pato, Balint and
                  Vanlerberghe, June and
                  Cao, ChunJun and
                  Lackey, Brad and
                  Brown, Kenneth},
  title        = {PlanqTN, a Python library and interactive web app
                   implementing the quantum LEGO framework
                  },
  month        = aug,
  year         = 2025,
  publisher    = {Zenodo},
  doi          = {10.5281/zenodo.16761072},
  url          = {https://doi.org/10.5281/zenodo.16761072},
}

License

Copyright 2025 Balint Pato

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Project details


Download files

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

Source Distribution

planqtn-0.2.0.tar.gz (4.8 MB view details)

Uploaded Source

Built Distribution

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

planqtn-0.2.0-py3-none-any.whl (78.5 kB view details)

Uploaded Python 3

File details

Details for the file planqtn-0.2.0.tar.gz.

File metadata

  • Download URL: planqtn-0.2.0.tar.gz
  • Upload date:
  • Size: 4.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for planqtn-0.2.0.tar.gz
Algorithm Hash digest
SHA256 ca4db77c5c6f09e33094e8ff79ea027ce11f8125ae6bb7e28e217deb00b19286
MD5 d649f4244d845ff20666c75ec1f6fd36
BLAKE2b-256 a6ce455057ac4bf548e84996e4b8016d3f0f27fcb4f326a8fcf16f6e03bc8ee8

See more details on using hashes here.

File details

Details for the file planqtn-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: planqtn-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 78.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for planqtn-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a88da95e250a546a5772f8b4a0cb92a40491da3ba19fb484924542e59f6dd72a
MD5 5b9f855e00bb3224d487d1d717e68c1b
BLAKE2b-256 b17098e84c90b90beb1312697acd7d22a5b3e64933664ae0b241504e73b149de

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