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 test
import quos quos.qplt('1,3,0|H,1,1|X,2,1|Z,3,2|Y,4,2|C,1,3,X,3,3|RX 30,2,4|R 30 30 60,3,4')
to generate a matplotlib plot of a quantum circuit consisting of
- Q0 (qudit 0) on qudit not 3 at time 0
- Q0 (qudit 1) on qubit 3 at time 0
- H (Hadamard gate) on qudit 1 at time 1
- X (Pauli X gate) on qudit 2 at time 1
- Z (Pauli Z gate) on qudit 3 at time 2
- Y (Pauli Y gate) on qudit 4 at time 2
- C (control point) on qudit 1 at time 3 controlling
- X (Pauli X gate) on qudit 3 at time 3
- RX (rotation by 30 around X) on qudit 2 at time 4
- R (rotation by 30 30 60 around X Y Z) on qudit 3 at time 4
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
- 0.0.7 2023-11-10 Enabled arguments and plotting of qubits
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
quos-0.0.7.tar.gz
(13.8 kB
view details)
Built Distribution
quos-0.0.7-py3-none-any.whl
(125.1 kB
view details)
File details
Details for the file quos-0.0.7.tar.gz
.
File metadata
- Download URL: quos-0.0.7.tar.gz
- Upload date:
- Size: 13.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4f0359995eb3537ec410d71eb345bb7c09530726023a58420fdf9fbfcb4202d |
|
MD5 | 5df360ec296e2d3e7c5e4f23f459050a |
|
BLAKE2b-256 | 1d9d94ad9e619c46028af71dd5d7804830b9dcf619953289984ac4e5c13ba0ac |
File details
Details for the file quos-0.0.7-py3-none-any.whl
.
File metadata
- Download URL: quos-0.0.7-py3-none-any.whl
- Upload date:
- Size: 125.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd88d673c1b99cc6cfe7a53b98c1032e8e4d254c41f72d469005a698d60db67d |
|
MD5 | eda9b4770d6637064d489d2a99a464c0 |
|
BLAKE2b-256 | 30f9b9d1f63fb9263c040afee03abf1d0f1877e5f10ecab439709ecee374aa47 |