Skip to main content

dreamwell_intelligence/
lib.rs

1// dreamwell-intelligence — QIPT: Quantum Information Pretrained Transformer
2//
3// The Loom: density matrix attention with intrinsic thermodynamic loss,
4// φ-scaled causal dephasing, Born rule measurement, and parameter shift gradient.
5//
6// Clean Compute: all hot-path allocations are pre-sized. Density matrices are
7// contiguous Vec<Complex>. No autograd graph. No hidden amortization.
8// Every operation is explicit, measurable, and benchmarkable.
9
10pub mod adjoint;
11pub mod attention;
12pub mod checkpoint;
13pub mod complex;
14pub mod dataset;
15pub mod density_matrix;
16pub mod embed;
17pub mod fock_forward;
18pub mod generate;
19pub mod golden_ratio_converter;
20pub mod hamiltonian;
21pub mod metrics;
22pub mod spectral;
23pub mod tokenizer;
24pub mod train;
25pub mod transformer;
26
27pub use complex::Complex;
28pub use dataset::TokenDataset;
29pub use density_matrix::DensityMatrixN;
30pub use golden_ratio_converter::GoldenRatioConverter;
31pub use tokenizer::CharTokenizer;
32pub use train::TrainConfig;
33pub use transformer::{QCTConfig, QCT};