Skip to main content

Shared foundation for the Crowe Quantum Platform — types, gates, states, IR, and protocols

Project description

crowe-quantum-core

Shared foundation for the Crowe Quantum Platform — quantum types, gates, states, circuit IR, and protocols.

Installation

pip install crowe-quantum-core

Features

  • Quantum States: ZERO, ONE, PLUS, MINUS, BELL_PHI_PLUS, and more
  • Gate Library: H, X, Y, Z, CNOT, CZ, Toffoli, Rx, Ry, Rz, Phase, SWAP
  • Circuit IR: Framework-agnostic intermediate representation for quantum circuits
  • Uncertain Values: Quantum-native numeric type with built-in uncertainty propagation
  • Protocols: Quantum error correction, noise models, Kraus operators

Quick Start

from crowe_quantum_core import states, gates
import numpy as np

# Apply Hadamard to |0⟩ → |+⟩
plus = gates.H @ states.ZERO
print(np.allclose(plus, states.PLUS))  # True

# Build a circuit
from crowe_quantum_core.circuit_ir import CircuitIR
circuit = CircuitIR(num_qubits=2)
circuit.h(0)
circuit.cnot(0, 1)

Part of the Crowe Quantum Platform

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

crowe_quantum_core-1.0.1.tar.gz (20.0 kB view details)

Uploaded Source

Built Distribution

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

crowe_quantum_core-1.0.1-py3-none-any.whl (19.5 kB view details)

Uploaded Python 3

File details

Details for the file crowe_quantum_core-1.0.1.tar.gz.

File metadata

  • Download URL: crowe_quantum_core-1.0.1.tar.gz
  • Upload date:
  • Size: 20.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for crowe_quantum_core-1.0.1.tar.gz
Algorithm Hash digest
SHA256 34d108984ccc1c04ddf542d35edcc394f3eac0617f4224240a5cbeb1cb19d704
MD5 5fdb2984e7b5d98bc20da6bd6a1cfe8e
BLAKE2b-256 4c2346d7ea3f24ddbc4088e171aba2b05d2d2f30772684141c1ba088b6040fad

See more details on using hashes here.

File details

Details for the file crowe_quantum_core-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for crowe_quantum_core-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c3cc17137119032a9c65bb8467c0e82b2c5900324453995a8f54b6302e0263fd
MD5 eebb8a95ee0e627ae9af9f7ff0408578
BLAKE2b-256 57b5ecef753eb3934393b4c5dd76c64e81dd242d76c152cc73aa457ff6583000

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