Documentation
SeedKernel
.
Ising
.
Chunked
Search
return to top
source
Imports
Init
SeedKernel.Ising.Checker
Imported by
SeedKernel
.
Ising
.
Stats
SeedKernel
.
Ising
.
addStats
SeedKernel
.
Ising
.
chunkStats
SeedKernel
.
Ising
.
sumStats
SeedKernel
.
Ising
.
goodStats
source
@[reducible, inline]
abbrev
SeedKernel
.
Ising
.
Stats
:
Type
Equations
SeedKernel.Ising.Stats
=
(
Int
×
Int
×
Int
×
Nat
×
Nat
)
Instances For
source
def
SeedKernel
.
Ising
.
addStats
(
a
b
:
Stats
)
:
Stats
Equations
SeedKernel.Ising.addStats
a
b
=
(
a
.
fst
+
b
.
fst
,
a
.
snd
.
fst
+
b
.
snd
.
fst
,
a
.
snd
.
snd
.
fst
+
b
.
snd
.
snd
.
fst
,
a
.
snd
.
snd
.
snd
.
fst
+
b
.
snd
.
snd
.
snd
.
fst
,
a
.
snd
.
snd
.
snd
.
snd
+
b
.
snd
.
snd
.
snd
.
snd
)
Instances For
source
def
SeedKernel
.
Ising
.
chunkStats
(
n
u
v
:
Nat
)
(
a
b
:
Int
)
(
start
count
:
Nat
)
:
Stats
Direct scalar evaluation of a consecutive block of computational-basis states.
Equations
One or more equations did not get rendered due to their size.
Instances For
source
def
SeedKernel
.
Ising
.
sumStats
(
l
:
List
Stats
)
:
Stats
Equations
SeedKernel.Ising.sumStats
l
=
List.foldl
SeedKernel.Ising.addStats
(
0
,
0
,
0
,
0
,
0
)
l
Instances For
source
def
SeedKernel
.
Ising
.
goodStats
(
s
:
Stats
)
:
Bool
Equations
One or more equations did not get rendered due to their size.
Instances For