Skip to main content

Library for building, simulating and measuring Parameterised Quantum Circuits (PQCs).

Project description


About:

pyramaterised is a framework for creating and measuring Parameterised Quantum Circuits (PQCs) in Python, by acting as a wrapper around the QuTIP library. A series of PQCs from the literature have been implemented using the framework alongside various collated capacity measures.

Usage:

Simply run in your current (virtual) environment:

pip install pyramaterised

Check out example.py or tests.py for examples of the framework in action.

Circuits:

A diagram of some of the circuits available in the library (custom circuits can be easily constructed). NPQC diagram from [1], XXZ and TFIM circuits adapted from [2] and fermionic circuit diagram from [3].

Capacity measures:

Capacity measures tell you how well an aspect of a PQC is performing, e.g, entanglement measures the amount of entanglement generated by the circuit, expressibility describes how well an N qubit circuit explores the N qubit Hilbert space.

Technical decisions:

  • Python: de-facto scientific programming language, interoperability with QuTIP important.
  • Object oriented: circuits being comprised of layers of gates with similar shared behaviours seemed a good fit.
  • Designed to allow users to create PQCs more easily than writing every gate by hand in QuTIP or similar program.

Acknowledgements

Thanks to the numpy, scipy, matplotlib and QuTIP libraries. Thanks to F. Roberts and T. Haug for their help.

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

pyramaterised-1.0.2.tar.gz (24.8 kB view details)

Uploaded Source

Built Distribution

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

pyramaterised-1.0.2-py3-none-any.whl (20.9 kB view details)

Uploaded Python 3

File details

Details for the file pyramaterised-1.0.2.tar.gz.

File metadata

  • Download URL: pyramaterised-1.0.2.tar.gz
  • Upload date:
  • Size: 24.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for pyramaterised-1.0.2.tar.gz
Algorithm Hash digest
SHA256 83b3b5d69ea46d073d13501bf40b6d4e2b78c93361b9de82cacfda29e9751aa5
MD5 82017b0dad4bc10009c665568c1566ca
BLAKE2b-256 a4175cf935c0f8b717f99097b7ad257a02c81b0525c786745e32141c89f7db25

See more details on using hashes here.

File details

Details for the file pyramaterised-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: pyramaterised-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 20.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for pyramaterised-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e1eabf4367b9d7355d28ad4fe86e32b5d97a540022032093d6c312db2a40c85a
MD5 c64b190242a2bf949b22ee3d34768b27
BLAKE2b-256 221b46175d9b1011ba4d53507dce7a13d4d8233793d558fb7c8dece7a1927bab

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