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.1.tar.gz (7.5 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.1-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyramaterised-1.0.1.tar.gz
  • Upload date:
  • Size: 7.5 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.1.tar.gz
Algorithm Hash digest
SHA256 b7e56fbb2de3f2002b2b83ac43b0c89d35cb9be15b9d7af8b5906b8080465636
MD5 428ab707e064ced81f249b9b5d5a4834
BLAKE2b-256 adf9bad6aa698fa016a3b5b61a78cdb4f745295f4777e29cb8d242ece66c156a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyramaterised-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.4 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 76af56ae6a5a8901a7c27f84fdc7db01221013dc47740a5b17a9c435c64e7880
MD5 b3a21485e699f6fe3dec9da221c1fcb6
BLAKE2b-256 916875858e4f60f47dfe6845af36965d98afbe1064f666334d6e2af57ae1f076

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