Metadata-Version: 2.4
Name: crowe-quantum-core
Version: 1.0.1
Summary: Shared foundation for the Crowe Quantum Platform — types, gates, states, IR, and protocols
Author-email: Michael Crowe <Crowelogicos@gmail.com>
License: MIT
Project-URL: Homepage, https://github.com/MichaelCrowe11/crowe-quantum
Project-URL: Repository, https://github.com/MichaelCrowe11/crowe-quantum
Keywords: quantum,computing,types,gates,states
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Science/Research
Classifier: Topic :: Scientific/Engineering :: Physics
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: License :: OSI Approved :: MIT License
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: numpy>=2.0.0
Requires-Dist: scipy>=1.14.0
Provides-Extra: dev
Requires-Dist: pytest>=8.0; extra == "dev"
Requires-Dist: pytest-cov>=5.0; extra == "dev"
Requires-Dist: ruff>=0.4.0; extra == "dev"

# crowe-quantum-core

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

## Installation

```bash
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

```python
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](https://github.com/MichaelCrowe11/crowe-quantum)
