Skip to main content

Quantum Reasoning Skill

PyPI
npm
PyPI stats
License

I built this because I noticed that most AI reasoning goes like this:

  1. Here's a plausible answer
  2. Let me justify it
  3. Done

That's backwards. Real thinking explores multiple paths, tests them against evidence, and only commits when the alternatives have been genuinely eliminated.

This skill forces that process. It keeps multiple hypotheses alive, assigns them probabilities based on actual evidence (not just "sounds good"), and collapses to a conclusion only when one path is clearly better supported than the rest.

Quick Start

pip install quantum-reasoning-skill
from quantum_reasoning_skill import ReasoningSession

session = ReasoningSession(problem="Should we migrate our monolith to microservices?")
session.open_branch("strangler-fig incremental")
session.open_branch("big-bang rewrite")
session.open_branch("modular monolith refactor")

session.evaluate(evidence="team has zero k8s experience", branch="big-bang rewrite", impact=-0.4)
session.evaluate(evidence="current deploys take 45min", branch="modular monolith", impact=+0.2)

verdict = session.collapse()
print(verdict.winner, verdict.confidence, verdict.rejected)

Also available as an Agent Skill for Claude and MCP-compatible hosts, and on npm: npm i quantum-reasoning-skill.

How it compares

Approach What it does Where it falls short
Chain-of-Thought One linear reasoning path Early anchoring; no alternatives kept alive
Tree-of-Thought Branches + scoring Static scoring; no evidence weighting or revival
Self-consistency Samples the same prompt N times Paraphrase diversity, not genuine hypothesis diversity
This skill Branches with evidence-weighted probabilities, cross-checking, pruning with revival, and explicit collapse criteria —

The protocol

  1. Frame the problem - what do we actually know vs. assume?
  2. Open branches - generate genuinely different approaches, not paraphrases
  3. Evaluate independently - each branch gets judged on evidence, not eloquence
  4. Cross-check - branches that reach the same conclusion independently get boosted
  5. Prune and revive - kill contradicted paths, but keep dormant ones that might come back
  6. Collapse - only when one answer is clearly better than the rest

Why "quantum"?

It's a metaphor, not a claim about actual quantum computing. The idea is to keep possibilities in superposition until measurement (evidence) forces a collapse. Most AI systems measure too early.

Common use cases

  • Multi-branch reasoning for difficult questions where one early answer can anchor the rest of the analysis.
  • AI agent planning and decision support with explicit competing hypotheses.
  • Evidence-based problem solving, search, pruning, and branch selection.
  • Scientific or technical analysis where independent approaches should be compared before a conclusion is chosen.
  • Benchmarking reasoning systems that need an inspectable explore-score-prune-merge protocol.

Documentation

License

MIT.

Metadata

Release files for quantum-reasoning-skill 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for quantum-reasoning-skill 1.1.0
File Size Uploaded
quantum_reasoning_skill-1.1.0.tar.gz 47.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for quantum-reasoning-skill 1.1.0
File Interpreter ABI Platform
quantum_reasoning_skill-1.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 77.1 kB

Release files / quantum_reasoning_skill-1.1.0.tar.gz

Download URL quantum_reasoning_skill-1.1.0.tar.gz
Size 47.1 kB
Tags Source
SHA-256 checksum
How to use checksums
08352941d138ec4c1509f6a5744bd2d9a542c01f312d866760f8f4155d2695da
BLAKE2b-256 checksum
How to use checksums
314cd86445cda72ae8063c41c6589aacd8408029dfcc61b2914d925aa16a7792
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 2, 2026.

Transparency log

Release files / quantum_reasoning_skill-1.1.0-py3-none-any.whl

Download URL quantum_reasoning_skill-1.1.0-py3-none-any.whl
Size 30.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6ae6b6020b1f4e1767ab88b41e5cfe3e5866ca783314ca91141a4c85ec358dd2
BLAKE2b-256 checksum
How to use checksums
26c250d2ee0ee4cae017c79439cbaf0b53fec863a5d37ce69263622b1f57c4ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 2, 2026.

Transparency log

Release history Release notifications | RSS feed

1.1.5

2 release files

1.1.4

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.1.1

2 release files

This release

1.1.0 This release

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page