QIO-1.0: The Quantum IO Monad is a library for defining quantum computations in Haskell

QIO.Heap

Documentation

class Eq h => Heap h whereSource

Methods

initial :: hSource

update :: h -> Qbit -> Bool -> hSource

(?) :: h -> Qbit -> Maybe BoolSource

forget :: h -> Qbit -> hSource

hswap :: h -> Qbit -> Qbit -> hSource

Instances