SubtractLab
SubtractLab / QIS

QIS — Quantum Inspired Semantic Space

Search that computes instead of matching. Retrieval becomes reasoning.

QIS is the retrieval engine of MeaningSpace. It replaces standard vector similarity search with interference-based scoring, making AI memory retrieval an act of computation rather than simple lookup.

The Problem: Similarity Is Not Value

Every AI retrieval system — from RAG pipelines to vector databases to AI memory stores — uses the same approach: find the most similar result. Cosine similarity, dot product, nearest neighbor. The closest match wins.

But similarity does not equal value. A memory about a catastrophic failure is mathematically just as “similar” to a query as a memory about a breakthrough. The retrieval system cannot tell the difference. It returns the closest match, blind to whether that match represents success or disaster.

Interference Scoring

QIS adds judgment to retrieval. Every crystal in MeaningSpace carries two additional vectors:

At retrieval time, QIS computes:

interference_score = (posi_similarity − nega_similarity) × evolution_weight × vector_proximity

The result: the AI retrieves the most meaningful memory, not just the most similar one.

Why “Quantum Inspired”?

The name draws from quantum mechanics’ interference principle — where wave functions constructively or destructively interfere. In QIS, success and failure vectors interfere at retrieval time. This is a conceptual analogy applied to semantic space, not a quantum computing implementation.

The parallel with existing academic work on quantum-inspired information retrieval (van Rijsbergen, Widdows) is acknowledged. QIS differs in that it applies interference to AI-authored evaluation vectors (posi/nega), not to term-document relationships.

Implementation

Minimal infrastructure. Two additional FLOAT[768] columns per crystal in DuckDB. CPU dot products. A single SQL query. No GPU. No external service.

QIS operates within the 3Gravity Architecture that structures MeaningSpace’s memory at Crystal, Cluster, and Galaxy scales.

Explore SubtractLab


Developed by Koji Okuda at SubtractLab.

© 2024–2026 Koji Okuda / SubtractLab. All rights reserved.