Xpersona
Q

Quantum Memory Graph

CLAWHUB · Unverified

Quantum-enhanced long-term memory for AI agents — #1 on LongMemEval (98.6% R@5, 99.4% R@10, 0.9426 NDCG). Chunked gte-large retrieval with QAOA+CVaR subgraph... Skill: Quantum Memory Graph Owner: dustin-a11y Summary: Quantum-enhanced long-term memory for AI agents — #1 on LongMemEval (98.6% R@5, 99.4% R@10, 0.9426 NDCG). Chunked gte-large retrieval with QAOA+CVaR subgraph... Tags: AI-agents:1.2.0, agent-memory:1.2.0, agents:0.4.0, embeddings:1.2.0, knowledge-graph:0.4.0, latest:1.2.0, long-memory:1.2.0, memory:1.2.0, quantum:1.2.0, rag:1.2.0, retrieval:1.2.0 Version history:

62
Rank
84
Safety
1.2k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.2K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s179g7vgvnhzq2bk9r2s3py8m584ccq3:quantum-memory
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-dustin-a11y-quantum-memory/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

18,259 characters of source documentation, loaded on request.

Extracted files

3 files captured from the source.

SKILL.md

---
name: quantum-memory-graph
title: Quantum Memory Graph
description: "Quantum-enhanced long-term memory for AI agents — #1 on LongMemEval (98.6% R@5, 99.4% R@10, 0.9426 NDCG). Chunked gte-large retrieval with QAOA+CVaR subgraph optimization for agents."
tags: [memory, retrieval, quantum, rag, embeddings, long-memory, AI-agents, agent-memory]
---

# Quantum Memory Graph (QMG)

Quantum-enhanced long-term memory for AI agents. Uses **chunked gte-large embeddings** for state-of-the-art semantic retrieval with **QAOA+CVaR** quantum subgraph optimization for graph-based reasoning.

## Features

- **#1 on LongMemEval** — 98.6% R@5, 99.4% R@10, 0.9426 NDCG
- **Chunked retrieval** — 500-char blocks with 100-char overlap, mean-of-top-3 per session
- **QAOA+CVaR optimization** — 12.8% edge over greedy on graph/PCE tasks
- **GPU accelerated** — runs on NVIDIA GB10 (DGX Spark)
- **Cascade recall** — personal graph → historical archive fallback
- **Per-agent isolation** — each agent gets their own isolated memory graph

## How It Works

1. **Session chunking** — Conversations split into overlapping 500-char chunks
2. **Embedding** — Chunks encoded with gte-large (1024-dim sentence transformer)
3. **Scoring** — Per-session score = mean of top-3 chunk cosine similarities
4. **Refinement** — Top-N candidates optionally refined via QAOA+CVaR subgraph optimizer
5. **Cascade** — Personal graph first, historical archive fallback if relevance < 0.4

## Performance

| Metric | Score |
|--------|:-----:|
| R@1 | 90.6% |
| **R@5** | **98.6%** |
| R@10 | 99.4% |
| NDCG@10 | 0.9426 |

*Benchmark: LongMemEval-S (500 questions, 18,464 sessions), May 28 2026*

## Usage

```python
from quantum_memory_graph import MemoryGraph

mg = MemoryGraph()
mg.store("Project Alpha uses React frontend with TypeScript.")
mg.store("Project Alpha backend is FastAPI with PostgreSQL.")

# Recall — chunked semantic retrieval + optional QAOA refinement
results = mg.retrieve("What is Project Alpha's tech stack?", top_k=5)
```

Or as a FastAPI server for agent integration:

```bash
pip install quantum-memory-graph
quantum-memory-graph serve  # serves /store, /recall, /stats endpoints
```

## Requirements

- Python 3.10+
- sentence-transformers
- numpy
- (optional) qiskit for QAOA optimization on real hardware

## Links

- GitHub: [https://github.com/Dustin-a11y/quantum-memory-graph](https://github.com/Dustin-a11y/quantum-memory-graph)
- PyPI: [https://pypi.org/project/quantum-memory-graph/](https://pypi.org/project/quantum-memory-graph/)

## License

MIT

_meta.json

{
  "ownerId": "kn7bpxhe4v3skk736cqrzckqz981qzjr",
  "slug": "quantum-memory",
  "version": "1.2.0",
  "publishedAt": 1780105864312
}

skill-card.md

## Description:

Quantum Memory Graph provides quantum-enhanced long-term memory for AI agents using chunked gte-large retrieval and optional QAOA+CVaR graph optimization.

This skill is ready for commercial/non-commercial use.

## Publisher:

[dustin-a11y](https://clawhub.ai/user/dustin-a11y)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and agent builders use this skill to add persistent semantic memory, recall endpoints, and graph-based retrieval guidance to AI agent workflows.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The skill asks users to install and run a persistent memory service with network endpoints.

Mitigation: Use a pinned and verified package version, run it in an isolated environment, and keep the service private or authenticated.

Risk: Persistent memory can retain secrets, sensitive conversations, or regulated data.

Mitigation: Avoid storing sensitive data unless retention, deletion, access control, and encryption are clearly handled.

Risk: Security evidence rates the release as suspicious because the service has little security guidance.

Mitigation: Review the skill carefully before installation and scan the package and deployment configuration before use.

## Reference(s):

- [ClawHub skill page](https://clawhub.ai/dustin-a11y/skills/quantum-memory)
- [Project GitHub repository](https://github.com/Dustin-a11y/quantum-memory-graph)
- [PyPI package](https://pypi.org/project/quantum-memory-graph/)

## Skill Output:

**Output Type(s):** [text, markdown, code, shell commands, configuration, guidance]

**Output Format:** [Markdown with Python and shell code blocks]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [May include package installation commands, local service commands, API endpoint guidance, and memory retrieval examples.]

## Skill Version(s):

1.2.0 (source: release metadata and target metadata)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to Quantum Memory Graph and adjacent AI workflows.