QIO-1.0: The Quantum IO Monad is a library for defining quantum computations in Haskell
Source code
Contents
Index
QIO.QIORandom
Documentation
type
CC
=
Complex
RR
Source
rX
::
RR
->
Rotation
Source
rY
::
RR
->
Rotation
Source
hadamards
:: [
Qbit
] ->
U
Source
pow2
::
Int
->
Int
Source
pow2'
::
Int
->
Int
->
Int
Source
weightedU
::
RR
->
Qbit
->
U
Source
weightedBool
::
RR
->
QIO
Bool
Source
rlf
:: [
Bool
] -> [
Bool
]
Source
rlf_l
::
Int
-> [
Bool
]
Source
rlf_n
::
Int
->
Int
Source
trim
::
Int
-> [
Qbit
] -> [
Qbit
]
Source
randomU
::
Int
-> [
Qbit
] ->
U
Source
randomU'
::
Int
-> [
Qbit
] ->
U
Source
randomQInt
::
Int
->
QIO
QInt
Source
randomQIO
:: (
Int
,
Int
) ->
QIO
Int
Source
randomInt
::
Int
->
QIO
Int
Source
random
::
Int
->
QIO
Int
Source
dice
::
IO
Int
Source
inf_dice
::
IO
[
Int
]
Source
dice_rolls
::
Int
->
IO
[
Int
]
Source
occs
:: [
Int
] -> (
Int
,
Int
,
Int
,
Int
,
Int
,
Int
)
Source
rs'
:: [
Int
] ->
Int
->
Int
Source
probs'
::
Int
->
IO
(
Int
,
Int
,
Int
,
Int
,
Int
,
Int
)
Source
probs
::
Int
->
IO
(
RR
,
RR
,
RR
,
RR
,
RR
,
RR
)
Source
Produced by
Haddock
version 2.6.0