Phase vectors¶
The warm-python wheel provides native vector search and phase vectors, imported as writerslogic_warm. It does not include document search; warm-sdk is the HTTP client for that API.
writerslogic_warm ¶
Deterministic, verifiable vector-symbolic (VSA) memory on a quantized-phase substrate.
PhaseHVec ¶
A quantized-phase hypervector: dim phases in Z_N. Binding is phase-add mod N (not self-inverse), bundling is a deterministic integer fold, similarity is the mean cosine of phase differences.
random staticmethod ¶
random(dim: int, n: int, seed: int) -> PhaseHVec
A random phase vector of dim dimensions at resolution n (phase levels, 2..=65536), deterministic in seed.
bind ¶
Bind two vectors (phase-add mod N). Non-self-inverse; inverse is unbind.
similarity ¶
similarity(other: PhaseHVec) -> float
Similarity: mean cosine of phase differences, in [-1, 1].
bundle staticmethod ¶
Deterministic superposition (bundle) of a list of phase vectors.