A quantum information utility package.
Project description
gav_quantum
gav_quantum is a quantum information utility package developed by Emil Marinov and Gray Alien Ventures.
Installation
pip install gav_quantum
Objects
ZERO - A column vector representation of the 0-state, [1 0]^T.
ONE - A column vector representation of the 1-state, [0 1]^T.
X, Y, Z - Standard X, Y, and Z Pauli operators.
PAULIS - An array of the Pauli operators in standard quantum information convention. Convenient for enumerations.
BELL_STATES[PHI_PLUS | PHI_MINUS | PSI_PLUS | PSI_MINUS] - The four maximally entangled Bell states.
Functions
W(N)
Inputs
- N - The number of qubits in the quantum state.
Output
- A vector corresponding to the maximally entangled N-qubit W-state.
GHZ(N)
Inputs
- N - The number of qubits in the quantum state.
Output
- A vector corresponding to the maximally entangled N-qubit GHZ-state.
operator_from_sparse_pauli(N, nonidentities)
Inputs
- N - The number of qubits in the quantum state.
- nonidentities - List of tuples specifying qubit number (indexed at 0) in ascending order and corresponding Pauli operator. Example: [(0,X),(2,'Y')]
Output
- A 2^N by 2^N operator.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gav_quantum-0.0.3.tar.gz.
File metadata
- Download URL: gav_quantum-0.0.3.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
19698146614e17fbebab3affa2aa6c53b05e6b4b91e490812b30edc96ceb2840
|
|
| MD5 |
0d7ab8f85dc875797ed434ada948aa5a
|
|
| BLAKE2b-256 |
5501478ab87e5973453b37afadd2160a8b817f439d0b145bcebab4cfbb12fae1
|
File details
Details for the file gav_quantum-0.0.3-py3-none-any.whl.
File metadata
- Download URL: gav_quantum-0.0.3-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
80e8e3a57710aa21d3b0403e1daad302d57bfc44804e2d32a3084327d1b6097b
|
|
| MD5 |
f023ce3f592f010efc7b3fc66650aecc
|
|
| BLAKE2b-256 |
13e8ed8605d85f96420218128b080981a5d09177b89f9918d671e047bea87f37
|