Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gav_quantum-0.0.2.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

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

gav_quantum-0.0.2-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file gav_quantum-0.0.2.tar.gz.

File metadata

  • Download URL: gav_quantum-0.0.2.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

Hashes for gav_quantum-0.0.2.tar.gz
Algorithm Hash digest
SHA256 571942505345401feab73d89f97e415eb3e89913f22ac7a79fbbc99bdc8bd007
MD5 049f08b1bb7fda7515dc2e7569e6eae3
BLAKE2b-256 4ed5e873763f310566cf20cf20ac84c0ae5d8386dff4c4cd427ea9422390dc3b

See more details on using hashes here.

File details

Details for the file gav_quantum-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: gav_quantum-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.9

File hashes

Hashes for gav_quantum-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 329293baf2df46f57dc4c3d42effe74d1054006081a4e2288c0e0fe77bfe08ee
MD5 b290c157972cea62f1f7bbfa81241c9a
BLAKE2b-256 c52dc543c7f5fb56e64efcbe41d3a939164e4d7ac6b18bcf7f4a0718e18a09eb

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