forked from JoeyT1994/TensorNetworkQuantumSimulator.jl
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTensorNetworkQuantumSimulator.jl
More file actions
121 lines (115 loc) · 2.53 KB
/
Copy pathTensorNetworkQuantumSimulator.jl
File metadata and controls
121 lines (115 loc) · 2.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
module TensorNetworkQuantumSimulator
include("imports.jl")
include("siteinds.jl")
include("TensorNetworks/abstracttensornetwork.jl")
include("TensorNetworks/tensornetwork.jl")
include("TensorNetworks/tensornetworkstate.jl")
include("TensorNetworks/tensornetworkstate_constructors.jl")
include("contraction_sequences.jl")
include("contract.jl")
include("Forms/abstractform.jl")
include("Forms/bilinearform.jl")
include("Forms/quadraticform.jl")
include("MessagePassing/abstractbeliefpropagationcache.jl")
include("MessagePassing/beliefpropagationcache.jl")
include("MessagePassing/boundarympscache.jl")
include("MessagePassing/loopcorrection.jl")
include("graph_ops.jl")
include("utils.jl")
include("Apply/apply_gates.jl")
include("Apply/simple_update.jl")
include("Apply/full_update.jl")
include("Apply/gate_definitions.jl")
include("expect.jl")
include("norm_sqr.jl")
include("inner.jl")
include("normalize.jl")
include("sampling.jl")
include("symmetric_gauge.jl")
include("entanglement.jl")
include("truncate.jl")
include("rdm.jl")
export
vertices,
edges,
add_edge,
degree,
apply_gates,
apply_circuit,
register_gate!,
register_alias!,
unregister_gate!,
rem_vertex!,
truncate,
expect,
is_tree,
maxvirtualdim,
siteinds,
edge_color,
zerostate,
named_grid,
sample,
TensorNetworkState,
tensornetworkstate,
random_tensornetworkstate,
BeliefPropagationCache,
rescale!,
message,
network,
update,
symmetric_gauge,
symmetric_gauge!,
messages,
gauge_and_scale,
identity_tensornetworkstate,
random_tensornetwork,
inner,
named_comb_tree,
named_hexagonal_lattice_graph,
named_path_graph,
neighbors,
center,
NamedGraph,
graph,
datatype,
scalartype,
BoundaryMPSCache,
TensorNetwork,
AbstractTensorNetwork,
partitionfunction,
contract,
TreeSA,
GreedyMethod,
SABipartite,
Treewidth,
ExactTreewidth,
HyperND,
ExhaustiveSearch,
norm_sqr,
map_virtualinds,
map_virtualinds!,
map_tensors,
map_tensors!,
rem_vertex,
src,
dst,
normalize,
QuadraticForm,
BilinearForm,
sample_certified,
sample_directly_certified,
vertextype,
virtualind,
virtualinds,
nv,
heavy_hexagonal_lattice,
rescale,
von_neumann_entanglement_entropy,
second_renyi_entanglement_entropy,
build_graph_from_circuit,
reduced_density_matrix,
rdm,
norm_factors,
toriccode_groundstate,
ising_partitionfunction
end