simon

Official

Demonstrate Simon's algorithm to recover s

Authorunitarylab
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Simon's algorithm finds the hidden bitstring s in a function f with the promise f(x) = f(x ⊕ s). It enables demonstration of quantum speedups and the hidden-subgroup structure behind Shor's algorithm in an educational setting.

Core Features & Use Cases

  • Builds and runs the Simon oracle U_f for a given hidden string s, performs the mid-circuit measurement of the output register, and completes the interference step to reveal linear equations over GF(2).
  • Provides end-to-end tooling for learning, prototyping, and validating small-n quantum circuits that exhibit the Simon problem, including classical post-processing to recover s.
  • Returns runtime results such as the recovered s, status, and a circuit diagram path to aid analysis and visualization.

Quick Start

Run the included Simon Algorithm example to recover the hidden string s.

Dependency Matrix

Required Modules

None required

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: simon
Download link: https://github.com/unitarylab/quantum-skills/archive/main.zip#simon

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.