QIO-1.0: The Quantum IO Monad is a library for defining quantum computations in Haskell
Source code
Contents
Index
QIO.Qdata
Documentation
class
Qdata
a qa | a -> qa, qa -> a
where
Source
Methods
mkQ
:: a ->
QIO
qa
Source
measQ
:: qa ->
QIO
a
Source
letU
:: a -> (qa ->
U
) ->
U
Source
condQ
:: qa -> (a ->
U
) ->
U
Source
condQRec
::
Qdata
a qa => [qa] -> [a ->
U
] ->
U
Source
qIntSize
::
Int
Source
newtype
QInt
Source
Constructors
QInt
[
Qbit
]
int2bits
::
Int
-> [
Bool
]
Source
bits2int
:: [
Bool
] ->
Int
Source
Produced by
Haddock
version 2.6.0