Skip to main content

Quos package for plotting and simulating quantum computing circuits employing oscillatory qudits

Project description

Quos package

for plotting and simulating quantum computing circuits employing oscillatory qudits

How to install

pip install matplotlib pip install quos

How to upgrade

pip install --upgrade quos

How to import

import quos or from quos import *

How to use

quos.qplt('H 1 1,X 1 2,Z 2 3,Y 2 4,C 3 1 X 3 3,H 4 2')

will generate a matplotlib plot of a quantum circuit consisting of

  • H (Hadamard gate) at time 1 on qudit 1
  • X (Pauli X gate) at time 1 on qudit 2
  • Z (Pauli Z gate) at time 2 on qudit 3
  • Y (Pauli Y gate) at time 2 on qudit 4
  • C (control point) at time 3 on qudit 1 controlling
  • X (Pauli X gate) at time 3 on qudit 3
  • H (Hadamard gate) at time 4 on qudit 2

Modules included

icons

Version History

  • 0.0.1 2023-11-07 Initial release
  • 0.0.2 2023-11-07 Minor corrections
  • 0.0.3 2023-11-07 Minor corrections
  • 0.0.4 2023-11-07 Minor corrections
  • 0.0.5 2023-11-09 Removed dependancy on networkx package
  • 0.0.6 2023-11-09 Enabled plotting of CNOT gate

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

quos-0.0.6.tar.gz (82.0 kB view details)

Uploaded Source

Built Distribution

quos-0.0.6-py3-none-any.whl (120.7 kB view details)

Uploaded Python 3

File details

Details for the file quos-0.0.6.tar.gz.

File metadata

  • Download URL: quos-0.0.6.tar.gz
  • Upload date:
  • Size: 82.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.13

File hashes

Hashes for quos-0.0.6.tar.gz
Algorithm Hash digest
SHA256 6fcf0c438ea82e093a030484b703fab4d1702d29c725a50c6d2caa65122b909b
MD5 d8350ad16cc3f19bed41716c0e833980
BLAKE2b-256 5b9c9981558226e2b97c0ff2fd04d0140d0ca7143b78a165d958896cb5339d27

See more details on using hashes here.

File details

Details for the file quos-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: quos-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 120.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.13

File hashes

Hashes for quos-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 edd7503a4f30b26a02472a30486c793d2582001ba6ce905854bfb12b3dfce140
MD5 a1ea77998241e886878e964df60a3773
BLAKE2b-256 33d8840507eac46c3e44192a55f0c4b9ca239dbfd5b748020fa4c2a4f5d176ff

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page