Skip to content
An implementation of quantum associative memory based on quetzal, a quantum computer simulator.
Racket
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
qassoc.rkt

README.md

qassoc.rkt

An implementation of quantum associative memory based on quetzal, a quantum computer simulator.

Usage

> (define P '((0 0 0 0) (0 0 1 1) (0 1 1 0) (1 0 0 1) (1 1 0 0) (1 1 1 1)))
> (learn P)
> (Grover-part '(0 0 1 ?) P)
> (measure-register)
The most likely result is |0011> with a probability of 0.9401041666666672
You can’t perform that action at this time.