QIO-1.0: The Quantum IO Monad is a library for defining quantum computations in Haskell
QIO.Qdata
class Qdata a qa | a -> qa, qa -> a whereSource
Methods
mkQ :: a -> QIO qaSource
measQ :: qa -> QIO aSource
letU :: a -> (qa -> U) -> USource
condQ :: qa -> (a -> U) -> USource
Instances
condQRec :: Qdata a qa => [qa] -> [a -> U] -> USource
qIntSize :: IntSource
newtype QInt Source
Constructors
int2bits :: Int -> [Bool]Source
bits2int :: [Bool] -> IntSource