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

Uploaded Python 3

File details

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

File metadata

  • Download URL: gav_quantum-0.0.1.tar.gz
  • Upload date:
  • Size: 3.2 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.1.tar.gz
Algorithm Hash digest
SHA256 cb6d4c2b5924b9fc5a5f9d411a8e6a8e9c26b705b362303ca3f231e16bd986c4
MD5 bd18c0bf6bd37176f65ec71978a94c31
BLAKE2b-256 208722bb53b9a1b4cce186dc00e99d4f90b3d1989f11f4c4f55a7c0cdbe20daf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gav_quantum-0.0.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8f336f4ec206aa1899b1faec7163dded2c291f72f041020a18a9c201629a0439
MD5 a57f5e86409320cf8a3bc649343b9c94
BLAKE2b-256 f1b678e330f8a0e0cd8d480116b801f76ebb72664cc8637ee041b52839532588

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