-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy paththeory.tex
executable file
·2809 lines (2641 loc) · 141 KB
/
theory.tex
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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
%theory
\part{Theoretical Background}
\label{sec:theory}
\acresetall
\chapter{Graph Theory}
\label{sec:graphtheory}
Graph theory is used intensively in this thesis, therefore a small introduction
to this field is provided. Graph theory is a powerful mathematical tool to
describe relations between pairs of objects. Its biggest advantage is the broad
range of applicability in fields like computer science, biology, social sciences
and of course physics and chemistry. In the following sections the focus will be
put on introducing graph theory in general and demonstrating its usefulness in
the scope of this thesis. If not mentioned otherwise the chapter is mainly based
on standard books on graph theory by
\citeauthor{West_Introductiongraphtheory_2001}\autocite{West_Introductiongraphtheory_2001}
and
\citeauthor{Balakrishnan_Schaumoutlinetheory_1997}\autocite{Balakrishnan_Schaumoutlinetheory_1997}.
\section{The Definition of a Graph}
\label{sec:DefinitionGraph}
The foundations for graph theory were laid out by Euler in his famous solution
to the K\"onigsberg Bridge Problem\autocite{Euler_Solutioproblematisad_1741}.
The problem at hand was concerned with a specific bridge layout that connected
the island Kneiphopf with the rest of the mainlands of the city of K\"onigsberg
via seven bridges.
%
\begin{figure}[htb]
\centering
\subfloat[\label{subfig:koenigsberg-scheme}]{
\begin{tikzpicture}
\node[anchor=south west, inner sep=0] at (0,0) {\includegraphics[width=.39\textwidth]{other-pics/koenigsberg-scheme.pdf}};
\node at (1.2,1.8) {A};
\node at (4,1.8) {B};
\node at (1.7,3) {C};
\node at (1.7,0.5) {D};
\end{tikzpicture}
}\hspace{0.05\textwidth}
\subfloat[\label{subfig:koenigsberg-graph}]{
\begin{tikzpicture}
\node[main node,scale=0.75] (A) {A};
\node[main node,scale=0.75] (B) [right = 2cm of A] {B};
\node[right = 1cm of A] (dummy) {};
\node[main node,scale=0.75] (C) [above = 1cm of dummy] {C};
\node[main node,scale=0.75] (D) [below = 1cm of dummy] {D};
\path[draw,thick]
(A) edge node {} (B)
(C) edge node {} (B)
(D) edge node {} (B)
(A) edge[bend right] node {} (C)
(A) edge[bend right=60] node {} (D)
(A) edge[bend left=60] node {} (C)
(A) edge[bend left] node {} (D)
;
\end{tikzpicture}
}
\caption{The K\"onigsberg Bridge Problem.
\protect\subref{subfig:koenigsberg-scheme} Schematic representation of the
bridge layout of K\"onigsberg with the river Pregel (blue), landmasses
(green) and bridges (red), and \protect\subref{subfig:koenigsberg-graph}
respective graph drawing.}
\label{fig:KoenigsbergBridgeProblem}
\end{figure}
%
The bridge layout is depicted schematically in
figure~\ref{subfig:koenigsberg-scheme}. Is it possible for a citizen of
K\"onigsberg to leave home, cross each bridge exactly once and return? The
answer is no and it was proven by Euler using a reduction of the problem as
shown in figure~\ref{subfig:koenigsberg-graph}. Landmasses are reduced to
circles and their connections via bridges is shown as lines between them. This
simplification makes it easy to realise why the answer to the formerly posed
question is no. It is clear that each landmass would need to be connected by an
even number of bridges for the desired traversal to exist.
Mathematically, a \textit{graph} $G$ is a triple that contains a \textit{vertex
set} $N(G)$, an \textit{edge set} $E(G)$, and a relation that associates two
vertices (not necessarily distinct) with each edge, i.e. it connects pairs of
vertices via their endpoints. Edges can form a \textit{loop} by having both
endpoints at the same vertex and multiple edges can connect the same vertices.
However, \textit{simple graphs} do not contain loops or multiple edges and are
more important for most practical applications. A simple graph can now be
defined by a set of unordered pairs of vertices by defining each edge as $e=uv$
or $e=vu$ with $u$ and $v$ being the endpoints (or vertices) of the edges. Then,
neighbouring or adjacent vertices are those that share an edge.
Graphs are often just represented as a graph drawing such as
figure~\ref{subfig:koenigsberg-graph}, however, sometimes it can be useful to
introduce a matrix representation. A simple graph $G$ with vertex set
$N(G)=\{v_1,v_2,\dots,v_n\}$ and edge set $E(G)=\{e_1,e_2,\dots,e_m\}$ can be
defined by writing an \textit{adjacency matrix} $\mathbf{A}$ that encodes the
edge-connectivity of the vertex set, i.e. $\mathbf{A}$ is a $n\times n$ matrix
where each matrix element $A_{ij}$ represents the number of edges that connect
$v_i$ and $v_j$. For the K\"onigsberg Bridge problem one possible adjacency
matrix that corresponds to ordering the vertices alphabetically by their label
is:
%
\begin{equation}
\mathbf{A}=
\begin{pmatrix}
0 & 1 & 2 & 2\\
1 & 0 & 1 & 1\\
2 & 1 & 0 & 0\\
2 & 1 & 0 & 0
\end{pmatrix}.
\end{equation}
%
An adjacency matrix is always symmetric and it can be used to easily determine
the \textit{vertex degree}, that is the number of edges connected to a
particular vertex, by calculating the sum over all entries in the corresponding
row or column.
Alternatively, the \textit{incidence matrix} $\mathbf{M}$ is an $n \cross m$
matrix where each matrix element $M_{ij}$ is either $1$ or $0$ depending on
whether $v_i$ is an endpoint of $e_j$. If the matrix element $M_{ij}$ is $1$ the
vertex $v_i$ and edge $e_j$ are incident.
The labelling of the vertices in figure~\ref{subfig:koenigsberg-graph} is
arbitrary and so is the ordering of the rows and columns in the adjacency
matrix. It is clear that a different ordering still describes the same graph
object and should therefore have no influence on the properties of the graph.
Permutation of the vertex labelling for a given simple graph $G$ that turns the
vertex set $N(G)$ into the vertex set $N(H)$ is called a \textit{bijection}. If
such a bijection exists the graphs $G$ and $H$ are \emph{isomorphic} to each
other. This property is important for the discussion of a specific type of
cluster later on in this thesis (chapter~\ref{sec:SHSClusters}).
If it is possible to order the vertices of a simple graph in such a way that
only two consecutively listed vertices are adjacent, the graph can be called a
\textit{path}. An extension of this concept is the \textit{cycle}, that requires
an equal number of vertices and edges so that the graph can be drawn as a circle
of sequentially listed vertices. Consequently, removing an edge from a cycle
always yields a path. In many applications (e.g. road networks) it is not
necessary for the whole graph to represent a path or a cycle, but it is only
important whether the graph contains a path or a cycle. If the graph $G$
contains the graph $H$, $H$ is called a sub-graph of $G$. This requires the
vertex set of $H$ to be contained in $N(G)$ ($N(H)\subseteq N(G)$) as well as
the edge set $E(H)$ ($E(H)\subseteq E(G)$) as well as the assignment of the
endpoints to be the same.
The K\"onigsberg Bridge Problem is not only concerned with the nature of the
bridging network, but more so with how to traverse over it. In graph theoretical
terms the desired solution is called a closed trail, which is a special case of
a walk, where no edge can be repeated (i.e. no bridge can be crossed twice) and
the endpoints have to be the same
vertex.{\interfootnotelinepenalty=10000\footnote{A graph that contains such a
closed tail traversing all edges is also called Eulerian in honour of of Euler's
significant contribution to solve this long-standing problem.}} A walk describes
a way to traverse over a graph by defining a list of vertices and edges
$v_0,e_1,v_1,\dots,e_k,v_k$ where the endpoints for each edge $e_i$ have to be
$v_{i-1}$ and $v_i$ ($1\leq i\leq k$). One possible trail (excluding one bridge)
is shown in figure~\ref{subfig:adtrail}.
%
\begin{figure}[htb]
\centering
\subfloat[A,D-trail\label{subfig:adtrail}]{
\begin{tikzpicture}
\node[main node,scale=0.75] (A) {A};
\node[main node,scale=0.75] (B) [right = 2cm of A] {B};
\node[right = 1cm of A] (dummy) {};
\node[main node,scale=0.75] (C) [above = 1cm of dummy] {C};
\node[main node,scale=0.75] (D) [below = 1cm of dummy] {D};
\draw[blue,directed,thick] (A) -- (B);
\draw[blue,directed,thick] (A) to [out=100,in=170] (C);
\draw[blue,directed,thick] (C) to [out=260,in=10] (A);
\draw[blue,directed,thick] (D) to [out=100,in=350] (A);
\draw[blue,directed,thick] (A) to [out=260,in=190] (D);
\draw[blue,directed,thick] (B) -- (D);
\draw[red,crossed,thick] (B) -- (C);
\end{tikzpicture}
}\hspace{0.5cm}
\subfloat[C,A-walk\label{subfig:cawalk}]{
\begin{tikzpicture}
\node[main node,scale=0.75] (A) {A};
\node[main node,scale=0.75] (B) [right = 2cm of A] {B};
\node[right = 1cm of A] (dummy) {};
\node[main node,scale=0.75] (C) [above = 1cm of dummy] {C};
\node[main node,scale=0.75] (D) [below = 1cm of dummy] {D};
\draw[blue,directed,thick] (C) to [in=100,out=170] (A);
\draw[blue,directed,thick] (A) to [out=260,in=190] (D);
\draw[blue,bidirected,thick] (D) -- (B);
\draw[blue,directed,thick] (B) -- (C);
\draw[blue,directed,thick] (C) to [out=260,in=10] (A);
\draw[blue,directed,thick] (D) to [out=100,in=350] (A);
\draw[blue,directed,thick] (A) -- (B);
\end{tikzpicture}
}\hspace{0.5cm}
\subfloat[A,C-path\label{subfig:acpath}]{
\begin{tikzpicture}
\node[main node,scale=0.75] (A) {A};
\node[main node,scale=0.75] (B) [right = 2cm of A] {B};
\node[right = 1cm of A] (dummy) {};
\node[main node,scale=0.75] (C) [above = 1cm of dummy] {C};
\node[main node,scale=0.75] (D) [below = 1cm of dummy] {D};
\draw[red,crossed,thick] (A) -- (B);
\draw[red,crossed,thick] (A) to [out=100,in=170] (C);
\draw[red,crossed,thick] (C) to [out=260,in=10] (A);
\draw[red,crossed,thick] (D) to [out=100,in=350] (A);
\draw[blue,directed,thick] (A) to [out=260,in=190] (D);
\draw[blue,directed,thick] (D) -- (B);
\draw[blue,directed,thick] (B) -- (C);
\end{tikzpicture}
}
\caption{Example of one possible \protect\subref{subfig:adtrail} trail,
\protect\subref{subfig:cawalk} walk and \protect\subref{subfig:acpath} path
over the bridges of K\"onigsberg. Traversal is in direction of the arrows.
Red edges indicate not-traversed bridges.}
\label{fig:walkkoenigsberg}
\end{figure}
%
For simple graphs walks and trails can be specified by listing only vertices,
as there can only be one incoming and one outgoing edge per vertex and no
loops. A short hand notation for such a trail or walk can be given by stating
its endpoints, e.g. A,D-trail, however there is usually more than one way this
trail could be laid out. While trails don't allow for repeated traversal of one
edge, paths require all vertex traversals to be distinct.
The definition of a path can also be used to define whether a graph is
\emph{connected}. In simple terms a graph is connected if there is a path
leading from each vertex to each other one, hence, for all $u,v\in N(G)$ there
must be a $u,v$-path for $G$ to be connected. An example of a disconnected graph
is shown in figure~\ref{fig:disconnectedgraph}.
%
\begin{figure}[htb]
\centering
\begin{tikzpicture}
\node[main node,scale=0.75] (A) {A};
\node[main node,scale=0.75] (B) [right = 2cm of A] {B};
\node[right = 1cm of A] (dummy) {};
\node[main node,scale=0.75] (C) [above = 1cm of dummy] {C};
\node[main node,scale=0.75] (D) [below = 1cm of dummy] {D};
\node (Comp1) [transform shape=false, draw, color=black, dashed, thick,%
fit= (A) (C) (D)] {};
\node (Comp1) [transform shape=false, draw, color=black, dashed, thick,%
fit= (B)] {};
\path[draw,thick] (A) edge[bend right] node {} (C) (A) edge[bend right=60] node {} (D) (A) edge[bend left=60] node {} (C)(A) edge[bend left] node {} (D);
\end{tikzpicture}
\caption{Example of a disconnected graph with two components. The vertex B
has no path to any of the other vertices, therefore the graph is
disconnected. Adding one edge from B to any other vertex would make this
graph connected. As a result from being disconnected the graph consists of
two components (dashed lines; one contains only the vertex B and the other
one contains the other three vertices.} \label{fig:disconnectedgraph}
\end{figure}
%
The maximally connected sub-graphs of a graph are called its
\textit{components}. In figure~\ref{fig:disconnectedgraph} the vertex B forms
one component, while the rest of the vertices form a second one. The vertex B is
an \textit{isolated vertex} as it is of degree zero. A graph consisting of only
isolated vertices is called a \textit{trivial graph} with each vertex forming
its own trivial component.
Adding edges to any graph either reduces the number of components by 1 or 0,
and therefore the minimum number of components is at least $n-m$. This can be
seen by considering a trivial graph of $n$ vertices and adding $m$ edges such
that the number of components $k$ changes by one with each of the $m$ edges. An
edge that increases the number of components upon deletion is also called a
\textit{cut-edge}.
An important concept utilised in chapter~\ref{sec:thegregorynewtonclusters} of
this thesis is that of induced sub-graphs. If a list of vertices $T$ is removed
from a graph $G$ the vertex-induced sub-graph $H$ with the vertex set
$N(H)=N(G)-T$ is obtained. All edges incident to the removed vertices need to be
removed as well. Removing the edge set $S$ results in the edge-induced sub-graph
$I$ with the edge set $E(I)=E(G)-S$, which leaves the vertex set unchanged.
\section{Planar Graphs}
\label{sec:PlanarGraphs}
\textit{Planar graphs} are of particular importance in chemistry and physics,
especially when studying clusters and complexes that are related to polyhedral
arrangements. A planar graph $G$ is defined as a graph that can be drawn such
that none of its edges intercept (except at vertices to which both edges are
incident). If a planar graph is drawn in that way it's called a \textit{plane
graph}, while any way of drawing that graph in the 2D plane may be referred to
as a \textit{planar embedding}.
The importance of planar graphs in cluster sciences stems from the fact that
they are related to convex polyhedra. According to \emph{Steinitz's fundamental
theorem on convex types} a graph $G$ is isomorphic to a graph $G(P)$ of a convex
polyhedron $P$ if $G$ is planar and 3-connected. A connected graph $G$ is said
to be $k$-vertex-connected (or $k$-connected) if it has more than $k$ vertices
and remains connected whenever fewer than $k$ vertices are removed. A famous
special case is a cubic graph with every vertex having degree three. Steinitz's
theorem can be illustrated by the following procedure. Take a convex polyhedron
like the icosahedron and remove one face (figure~\ref{subfig:icopoly}).
%
\begin{figure}[htb]
\centering
\tdplotsetmaincoords{60}{0}
\def \ico {1.618}
\subfloat[\label{subfig:icopoly}]{
\begin{tikzpicture}[tdplot_main_coords,
every node/.style = {circle, fill = blue!20, inner sep = 0pt, minimum size = 0.5cm},
rotate = 0,
line join=bevel]
%\draw[red,->] (0,0,0) -- (0,0,1) node {$z$};
%\draw[red,->] (0,0,0) -- (0,1,0) node {$y$};
%\draw[red,->] (0,0,0) -- (1,0,0) node {$x$};
\coordinate (1) at (0, 1, \ico);
\coordinate (2) at (0, 1, -\ico);
\coordinate (3) at (0, -1, \ico);
\coordinate (4) at (0, -1, -\ico);
\coordinate (5) at (1, \ico, 0);
\coordinate (6) at (1, -\ico, 0);
\coordinate (7) at (-1, \ico, 0);
\coordinate (8) at (-1, -\ico, 0);
\coordinate (9) at (\ico, 0, 1);
\coordinate (10) at (\ico, 0, -1);
\coordinate (11) at (-\ico, 0, 1);
\coordinate (12) at (-\ico, 0, -1);
%\foreach \n in {1,...,12}
% \node at (\n) {\n};
\draw[thick, fill=blue!50, opacity=0.75] (3) -- (6) -- (8) -- cycle;
\draw[thick, fill=blue!50, opacity=0.75] (3) -- (6) -- (9) -- cycle;
\draw[thick, fill=blue!50, opacity=0.75] (6) -- (10) -- (9) -- cycle;
\draw[thick, fill=blue!50, opacity=0.75] (1) -- (9) -- (3) -- cycle;
\draw[thick, fill=blue!50, opacity=0.75] (3) -- (8) -- (11) -- cycle;
\draw[thick, fill=blue!50, opacity=0.75] (1) -- (11) -- (3) -- cycle;
\draw[thick, fill=blue!50, opacity=0.75] (1) -- (11) -- (7) -- cycle;
\draw[thick, fill=blue!50, opacity=0.75] (8) -- (6) -- (4) -- cycle;
\draw[thick, fill=blue!50, opacity=0.75] (10) -- (6) -- (4) -- cycle;
\draw[thick, fill=blue!50, opacity=0.75] (12) -- (8) -- (4) -- cycle;
\draw[thick, fill=blue!50, opacity=0.75] (12) -- (8) -- (11) -- cycle;
\draw[thick, fill=blue!50, opacity=0.75] (12) -- (7) -- (11) -- cycle;
\draw[thick, fill=blue!50, opacity=0.75] (12) -- (7) -- (2) -- cycle;
\draw[thick, fill=blue!50, opacity=0.75] (12) -- (2) -- (4) -- cycle;
\draw[thick, fill=blue!50, opacity=0.75] (10) -- (2) -- (4) -- cycle;
\draw[thick, fill=white, opacity=0.5] (5) -- (7) -- (2) -- cycle;
\draw[thick, fill=blue!50, opacity=0.75] (5) -- (10) -- (9) -- cycle;
\draw[thick, fill=blue!50, opacity=0.75] (1) -- (7) -- (5) -- cycle;
\draw[thick, fill=blue!50, opacity=0.75] (5) -- (10) -- (2) -- cycle;
\draw[thick, fill=blue!50, opacity=0.75] (1) -- (9) -- (5) -- cycle;
\end{tikzpicture}
}
\subfloat[\label{subfig:icostretch1}]{
\begin{tikzpicture}[tdplot_main_coords,
every node/.style = {circle, fill = blue!20, inner sep = 0pt, minimum size = 0.5cm},
rotate = 0,
line join=bevel]
%\draw[red,->] (0,0,0) -- (0,0,1) node {$z$};
%\draw[red,->] (0,0,0) -- (0,1,0) node {$y$};
%\draw[red,->] (0,0,0) -- (1,0,0) node {$x$};
\coordinate (1) at (0, 1, \ico);
\coordinate (2) at (0, -0.4142, -\ico);
\coordinate (3) at (0, -1, \ico);
\coordinate (4) at (0, -1, -\ico);
\coordinate (5) at (2, 2.618, 0);
\coordinate (6) at (1, -\ico, 0);
\coordinate (7) at (-2, 2.618, 0);
\coordinate (8) at (-1, -\ico, 0);
\coordinate (9) at (\ico, 0, 1);
\coordinate (10) at (\ico, 0, -1);
\coordinate (11) at (-\ico, 0, 1);
\coordinate (12) at (-\ico, 0, -1);
%\foreach \n in {1,...,12}
% \node at (\n) {\n};
\draw[thick, fill=blue!50, opacity=0.75] (3) -- (6) -- (8) -- cycle;
\draw[thick, fill=blue!50, opacity=0.75] (3) -- (6) -- (9) -- cycle;
\draw[thick, fill=blue!50, opacity=0.75] (6) -- (10) -- (9) -- cycle;
\draw[thick, fill=blue!50, opacity=0.75] (1) -- (9) -- (3) -- cycle;
\draw[thick, fill=blue!50, opacity=0.75] (3) -- (8) -- (11) -- cycle;
\draw[thick, fill=blue!50, opacity=0.75] (1) -- (11) -- (3) -- cycle;
\draw[thick, fill=blue!50, opacity=0.75] (1) -- (11) -- (7) -- cycle;
\draw[thick, fill=blue!50, opacity=0.75] (8) -- (6) -- (4) -- cycle;
\draw[thick, fill=blue!50, opacity=0.75] (10) -- (6) -- (4) -- cycle;
\draw[thick, fill=blue!50, opacity=0.75] (12) -- (8) -- (4) -- cycle;
\draw[thick, fill=blue!50, opacity=0.75] (12) -- (8) -- (11) -- cycle;
\draw[thick, fill=blue!50, opacity=0.75] (12) -- (7) -- (11) -- cycle;
\draw[thick, fill=blue!50, opacity=0.75] (12) -- (7) -- (2) -- cycle;
\draw[thick, fill=blue!50, opacity=0.75] (12) -- (2) -- (4) -- cycle;
\draw[thick, fill=blue!50, opacity=0.75] (10) -- (2) -- (4) -- cycle;
\draw[thick, fill=blue!50, opacity=0.75] (5) -- (10) -- (9) -- cycle;
\draw[thick, fill=blue!50, opacity=0.75] (5) -- (10) -- (2) -- cycle;
\draw[thick, fill=blue!50, opacity=0.75] (1) -- (9) -- (5) -- cycle;
\draw[thick, fill=blue!50, opacity=0.75] (1) -- (7) -- (5) -- cycle;
\draw[thick, fill=white, opacity=0.5] (5) -- (7) -- (2) -- cycle;
\end{tikzpicture}
}\\
\subfloat[\label{subfig:icostretch2}]{
\begin{tikzpicture}[tdplot_main_coords,
every node/.style = {circle, fill = blue!20, inner sep = 0pt, minimum size = 0.5cm},
rotate = 0,
line join=bevel]
%\draw[red,->] (0,0,0) -- (0,0,1) node {$z$};
%\draw[red,->] (0,0,0) -- (0,1,0) node {$y$};
%\draw[red,->] (0,0,0) -- (1,0,0) node {$x$};
\coordinate (1) at (0, 1, \ico);
\coordinate (2) at (0, -5, -\ico);
\coordinate (3) at (0, -1, \ico);
\coordinate (4) at (0, -1, -\ico);
\coordinate (5) at (4, 4.5, 0);
\coordinate (6) at (1, -\ico, 0);
\coordinate (7) at (-4, 4.5, 0);
\coordinate (8) at (-1, -\ico, 0);
\coordinate (9) at (\ico, 0, 1);
\coordinate (10) at (\ico, 0, -1);
\coordinate (11) at (-\ico, 0, 1);
\coordinate (12) at (-\ico, 0, -1);
%\foreach \n in {1,...,12}
% \node at (\n) {\n};
\draw[thick, fill=blue!50, opacity=0.75] (12) -- (2) -- (4) -- cycle;
\draw[thick, fill=blue!50, opacity=0.75] (3) -- (6) -- (8) -- cycle;
\draw[thick, fill=blue!50, opacity=0.75] (3) -- (6) -- (9) -- cycle;
\draw[thick, fill=blue!50, opacity=0.75] (6) -- (10) -- (9) -- cycle;
\draw[thick, fill=blue!50, opacity=0.75] (1) -- (9) -- (3) -- cycle;
\draw[thick, fill=blue!50, opacity=0.75] (3) -- (8) -- (11) -- cycle;
\draw[thick, fill=blue!50, opacity=0.75] (1) -- (11) -- (3) -- cycle;
\draw[thick, fill=blue!50, opacity=0.75] (1) -- (11) -- (7) -- cycle;
\draw[thick, fill=blue!50, opacity=0.75] (8) -- (6) -- (4) -- cycle;
\draw[thick, fill=blue!50, opacity=0.75] (10) -- (6) -- (4) -- cycle;
\draw[thick, fill=blue!50, opacity=0.75] (12) -- (8) -- (4) -- cycle;
\draw[thick, fill=blue!50, opacity=0.75] (12) -- (8) -- (11) -- cycle;
\draw[thick, fill=blue!50, opacity=0.75] (12) -- (7) -- (11) -- cycle;
\draw[thick, fill=blue!50, opacity=0.75] (12) -- (7) -- (2) -- cycle;
\draw[thick, fill=blue!50, opacity=0.75] (10) -- (2) -- (4) -- cycle;
\draw[thick, fill=blue!50, opacity=0.75] (5) -- (10) -- (9) -- cycle;
\draw[thick, fill=blue!50, opacity=0.75] (5) -- (10) -- (2) -- cycle;
\draw[thick, fill=blue!50, opacity=0.75] (1) -- (9) -- (5) -- cycle;
\draw[thick, fill=blue!50, opacity=0.75] (1) -- (7) -- (5) -- cycle;
\draw[thick, fill=blue!50, opacity=0] (5) -- (7) -- (2) -- cycle;
\end{tikzpicture}
}
\caption{Stretching and flattening of a icosahedron surface with one removed
face. \protect\subref{subfig:icopoly} Icosahedron with on removed face in the
centre, \protect\subref{subfig:icostretch1} stretching of the hole in the
surface, \protect\subref{subfig:icostretch2} fully flattened surface shows a
plane graph.}
\label{fig:icographtransform}
\end{figure}
%
Imagine the rest of the polyhedron being made of a rubber material such that it
is deformable and stretchable. Take the area of the removed face and stretch it
such that the rest of the polyhedron can sit inside the stretched face
(figure~\ref{subfig:icostretch1}). After flattening the object, what is left is
what looks like a planar embedding of a graph.
Notice how no connections were broken in the process, which means the resulting
graph accurately represents the connectivity of the original polyhedron.
A plane graph sections the area of the graph into regions (or faces), one of
which is exterior while all others are interior. The exterior region is the only
one that is not finite. A region is enclosed by a closed walk and its degree is
equal to the number of edges contained in the walk.
A relation between the number of vertices $|N|$, regions $|F|$ and edges $|E|$ in a
planar graph is given by Euler's polyhedral formula.
%
\begin{align}
|N|-|E|+|F|=2\label{eqn:Euler}
\end{align}
%
There exist a large amount of proofs for this formula, one of which was
published shortly after Euler's death by
Cauchy.\autocite{Patterson_AspectsEulerTheorem_1977} Take any graph derived from
a convex polyhedron like the cubic graph shown in
figure~\ref{subfig:EulerProofa}.
%
\begin{figure}[htb]\centering
\subfloat[$8-12+6=2$\label{subfig:EulerProofa}]{
\begin{tikzpicture}[every node/.style = {anchor=center}]
\node (A) {};
\node [right = 2cm of A.center] (B) {};
\node [below = 2cm of B.center] (C) {};
\node [left = 2cm of C.center] (D) {};
\node [below right = 0.5cm of A.center] (E) {};
\node [right = 1cm of E.center] (F) {};
\node [below = 1cm of F.center] (G) {};
\node [left = 1cm of G.center] (H) {};
\draw [thick] (A.center) -- (B.center) -- (C.center) -- (D.center) -- (A.center);
\draw [thick] (E.center) -- (F.center) -- (G.center) -- (H.center) -- (E.center);
\draw [thick] (A.center) -- (E.center);
\draw [thick] (B.center) -- (F.center);
\draw [thick] (C.center) -- (G.center);
\draw [thick] (D.center) -- (H.center);
\end{tikzpicture}
}\hspace{1cm}
\subfloat[$8-17+11=2$\label{subfig:EulerProofb}]{
\begin{tikzpicture}[every node/.style = {anchor=center}]
\node (A) {};
\node [right = 2cm of A.center] (B) {};
\node [below = 2cm of B.center] (C) {};
\node [left = 2cm of C.center] (D) {};
\node [below right = 0.5cm of A.center] (E) {};
\node [right = 1cm of E.center] (F) {};
\node [below = 1cm of F.center] (G) {};
\node [left = 1cm of G.center] (H) {};
\draw [thick] (A.center) -- (B.center) -- (C.center) -- (D.center) -- (A.center);
\draw [thick] (E.center) -- (F.center) -- (G.center) -- (H.center) -- (E.center);
\draw [thick] (A.center) -- (E.center);
\draw [thick] (B.center) -- (F.center);
\draw [thick] (C.center) -- (G.center);
\draw [thick] (D.center) -- (H.center);
\draw [thick] (A.center) -- (F.center);
\draw [thick] (B.center) -- (G.center);
\draw [thick] (C.center) -- (H.center);
\draw [thick] (D.center) -- (E.center);
\draw [thick] (E.center) -- (G.center);
\end{tikzpicture}
}\hspace{1cm}
\subfloat[$8-16+10=2$\label{subfig:EulerProofc}]{
\begin{tikzpicture}[every node/.style = {anchor=center}]
\node (A) {};
\node [right = 2cm of A.center] (B) {};
\node [below = 2cm of B.center] (C) {};
\node [left = 2cm of C.center] (D) {};
\node [below right = 0.5cm of A.center] (E) {};
\node [right = 1cm of E.center] (F) {};
\node [below = 1cm of F.center] (G) {};
\node [left = 1cm of G.center] (H) {};
\draw [thick] (C.center) -- (D.center) -- (A.center) -- (B.center);
\draw [thick] (E.center) -- (F.center) -- (G.center) -- (H.center) -- (E.center);
\draw [thick] (A.center) -- (E.center);
\draw [thick] (B.center) -- (F.center);
\draw [thick] (C.center) -- (G.center);
\draw [thick] (D.center) -- (H.center);
\draw [thick] (A.center) -- (F.center);
\draw [thick] (B.center) -- (G.center);
\draw [thick] (C.center) -- (H.center);
\draw [thick] (D.center) -- (E.center);
\draw [thick] (E.center) -- (G.center);
\end{tikzpicture}
}
\caption{\protect\subref{subfig:EulerProofa} Graph of a cube, \protect\subref{subfig:EulerProofb} triangulation of the internal regions of the same graph, \protect\subref{subfig:EulerProofc} removal of one face and edge.}
\label{fig:EulerProof}
\end{figure}
%
As shown in figure~\ref{subfig:EulerProofb}, add edges such that every internal
region becomes a triangle. This procedure increases both $E$ and $F$, therefore
not affecting the result of equation~\eqref{eqn:Euler}. In the final step of the
proof, the triangles are removed one by one starting from the outside boundary
of the graph. This can either be achieved by removing one edge and a face as
shown in figure~\ref{subfig:EulerProofc} or two edges, one vertex and one
face, again leaving equation~\eqref{eqn:Euler} unchanged. In the end, only one
internal region will remain: a triangle. This triangle will always result from
the procedure described above no matter which planar graph the procedure was
started from. Equation~\eqref{eqn:Euler} for this triangle is $3 - 3 + 2 = 2$,
therefore proving Euler's relation to be true. The result $2$ of Euler's
polyhedral formula is true for convex polyhedra and is also called the
\textit{Euler characteristic} $\chi$. The formula can be extended to other
objects via this value. It is directly related to the genus $g$ of an object via
the relation
%
\begin{align}
\chi=2-2g.
\end{align}
%
Even for disconnected graphs the formula can be modified and expressed in terms
of the number of connected components $k$ of the graph.
%
\begin{align}
|N|- |E| + |F| = k + 1
\end{align}
Euler's polyhedral formula is very simple, but nevertheless very powerful. For
example, it shows a symmetry between the number of regions and the number of
vertices in a graph, because exchanging $N$ and $F$ does not change its result.
This property is known as \textit{duality}. The geometric dual of a graph $G'$
has $|N|$ faces and $|F|$ vertices, while the edge count remains unchanged. It
can be constructed by considering the neighbouring regions of an edge $e$. If
$e$ is between region $A$ and $B$, then the corresponding dual edge $e'$
connects the vertices $a$ and $b$ of the dual graph $G'$. Repeating this
procedure for all edges of $G$ results in a graph that is its geometric dual.
\section{Graph Matching}
\label{sec:AlgorithmGraph}
In chapter~\ref{sec:thegregorynewtonclusters} the concepts of isomorphism and
sub-graph isomorphism are used to investigate similarities of a certain class
of clusters to the icosahedral graph. Such a procedure is required to find a
mapping $M$ between the vertices of two graphs, which depends on the external
constraints imposed on it. Such a mapping is a bijection and can be expressed by
ordered pairs of vertices $(a,b)$.
%
\begin{align}
M=\{(a_1,b_1),(a_2,b_2)\dots\}
\end{align}
%
Mappings have to be created vertex by vertex, so initially all mappings start as
partial mappings that only contain a subset of the vertices of both graphs. This
mapping can be found by simply computing all possible partial solutions, that
satisfy the desired isomorphism type. However, this becomes increasingly
expensive for larger graphs and more efficient methods have been developed. The
\textit{VF} algorithm\autocite{Cordella_SubgraphTransformationsInexact_1998},
for example, uses feasibility rules to rule out partial mappings that will
definitely not result in a mapping with the desired properties. This can reduce
the size of the problem substantially, as dead-end solutions will be removed
early in the procedure. The \textit{VF} algorithms memory footprint has been
improved in the \textit{VF2}
implementation,\autocite{Cordella_ImprovedAlgorithmMatching_2001} which is the
version included in the \textit{boost graph
library}\autocite{Siek_BoostGraphLibrary_2002} utilised in this thesis.
\acresetall
\chapter{Quantum Chemistry}
\label{sec:basicsofQC}
An accurate description of atoms and molecules is given by the
Schr\"odinger equation and its relativistic extensions. The following chapter introduces the fundamentals of
quantum mechanics and their application to chemistry in terms of approximate
solutions to the Schr\"odinger equation. If not noted otherwise the content is
based on standard books by
Jensen\autocite{Jensen_IntroductionComputationalChemistry_2007}, Szabo and
Ostlund\autocite{Szabo_ModernQuantumChemistry_1996} and Holthausen and
Koch\autocite{Koch_ChemistGuideDensity_2001}.
\section{The Schr\"odinger Equation}
\label{sec:schrodingerequation}
The beginning of the 20th century marked a very important stepping stone for
modern theoretical sciences. Discoveries like Planck's energy quantisation
based on black body
radiation\autocite{Planck_UeberGesetzEnergieverteilung_1901} or the discovery
of the wave particle dualism by de
Broglie\autocite{Broglie_RecherchestheorieQuanta_1925} lead to a complete
reformulation of the physical laws governing the smallest of particles. Erwin
Schr\"odinger established a framework based on Hamiltonian mechanics that set
the \textit{wave function} $\Psi(\mathbf{x},t)$ at the centre of
attention.\autocite{Schrodinger_QuantisierungalsEigenwertproblem_1926} It
contains all information about the system and its evolution in time. For
ground-state calculations it is usually sufficient to look at solutions to the
\textit{time-independent Schr\"odinger equation}.
%
\begin{equation}
\mathbf{H}\Psi=E\Psi\label{eqn:SchrodingerEquation}
\end{equation}%
%
In this eigenvalue equation the \textit{Hamilton operator} $\mathbf{H}$ acts on
the wave function $\Psi$ resulting in a solution for the total energy $E$ of the
system.
The wave function is a function of all spatial $\mathbf{r}$ and spin
coordinates $\omega$ of all the particles in the system.\footnote{The spin
is treated in a more consistent way by the Dirac equation.} The combination of
these coordinates will be denoted $\mathbf{x}$ on the following pages.
%
\begin{align}
\mathbf{x}=\{\mathbf{r},\omega\}
\end{align}
%
The square of the wave function is usually interpreted as a \textit{probability
density}, i.e. the probability of finding an
electron anywhere in space is set to one (\textit{normalisation condition}). This interpretation is also referred to as
\textit{Born's interpretation} of the wave
function.\autocite{Born_ZurQuantenmechanikStossvorgaenge_1926,Born_AdiabatenprinzipQuantenmechanik_1927}
%
\begin{align}
\int |\Psi(\mathbf{x})|^2\dd \mathbf{x}_1\dd \mathbf{x}_2\ldots\dd \mathbf{x}_N=\braket{\Psi(\mathbf{x})}=1
\end{align}
%
The information contained in the wave function can be accessed by an \textit{operator}
$\mathbf{O}$ acting on the wave function and forming an eigenvalue equation. In
equation~\eqref{eqn:SchrodingerEquation} this operator is the Hamilton
operator, but it could be any (self-adjoint) operator connected to a physical observable.
Generally, the expectation value of any operator $\expval{\mathbf{O}}$ is
defined as
%
\begin{equation}
\expval{\mathbf{O}}=\frac{\expval{\mathbf{O}}{\Psi(\mathbf{x})}}{\braket{\Psi(\mathbf{x})}},
\end{equation}
%
or for normalised wave functions
%
\begin{align}
\expval{\mathbf{O}}=\expval{\mathbf{O}}{\Psi(\mathbf{x})}.
\end{align}
%
For a system of $N$ electrons and $M$ nuclei the non-relativistic Hamilton
operator in atomic units has the form
%
\begin{align}
\begin{aligned}
\mathbf{H}=&\mathbf{T}_\text{e} + \mathbf{V}_\text{ee} + \mathbf{T}_\text{n} + \mathbf{V}_\text{nn} + \mathbf{V}_\text{en} \\
=&-\frac{1}{2}\sum_{i=1}^N\nabla_i^2
+ \sum_{i=1}^N\sum_{j>i}^Nr_{ij}^{-1}
-\frac{1}{2} \sum_{A=1}^M\frac{\nabla_A^2}{m_A}\\
&+ \sum_{A=1}^M\sum_{B>A}^M\frac{Z_AZ_B}{r_{AB}}
+ \sum_{i=1}^N\sum_{A=1}^M\frac{Z_A}{r_{iA}}.\label{eqn:hamiltonoperator}
\end{aligned}
\end{align}
%
$r_{iA}$ denotes the distance between particles $i$ (electron) and $A$
(nucleus), $m_A$ is the mass of nucleus $A$ and $Z_A$ is its charge. The
operator contains the kinetic energy of the electrons $\mathbf{T}_\text{e}$, the
electron repulsion $\mathbf{V}_\text{ee}$, the kinetic energy of the nuclei
$\mathbf{T}_\text{n}$, the nucleon repulsion $\mathbf{V}_\text{nn}$ and the
electron-nucleus attraction $\mathbf{V}_\text{en}$. Additional operators may be
added for external field perturbations.
\section{The Born-Oppenheimer Approximation}
\label{sec:bornoppenheimerapproximation}
For quantum chemical applications the coupling of the movement of the electrons
and nuclei is usually neglected. This is possible because the atomic mass $m_A$
is so much greater than the electronic mass $m_i$, resulting in much smaller
velocities for nuclei compared to
electrons.\autocite{Born_ZurQuantentheorieMolekeln_1927} Therefore, the
electrons can be considered to be moving in a static field of nuclei, meaning
the nuclear kinetic term $\mathbf{T}_\text{n}$ can be neglected and the nuclear
repulsion term $\mathbf{V}_\text{nn}$ becomes a constant. The resulting
electronic Hamilton operator $\mathbf{H}_\text{e}$ describes electrons moving
in a field of positive point charges.
%
\begin{align}
\mathbf{H}_\text{e}=\mathbf{T}_\text{e} + \mathbf{V}_\text{ee} + \mathbf{V}_\text{en}
\end{align}
%
Solving the Schr\"odinger equation for this operator yields the electronic wave
function $\Psi_\text{e}$. It depends explicitly on the electronic coordinates and spin,
but only parametrically on the nuclear coordinates, therefore spanning a
potential energy surface upon which the nuclei move. To get the total energy of
the system, the constant repulsion between the nuclei has to be added to the
electronic operator.
%
\begin{align}
\mathbf{H}=\mathbf{H}_\text{e}+V_\text{nn}\label{eqn:hamiltonoperatorfinal}
\end{align}
%
\section{The Hartree-Fock Approximation}
\label{sec:hartreefockapproximation}
An analytical solution to the Schr\"odinger equation in the framework of
the Born-Oppenheimer approximation for systems containing more than one
electron is not attainable. The solution has to be obtained approximately by appropriate
methods; one such approximation is given by the Hartree-Fock equations. This set of
equations determines the energy variationally from a wave function expressed as a Slater
determinant
$\Phi_\text{SD}$.\autocite{Slater_TheoryComplexSpectra_1929,Fock_NaeherungsmethodezurLoesung_1930}
%
\begin{equation}
\Phi_{SD}=\frac{1}{\sqrt{N!}}
\begin{vmatrix}
\phi_1(\mathbf{x}_1) & \phi_2(\mathbf{x}_1) & \cdots & \phi_N(\mathbf{x}_1)\\
\phi_1(\mathbf{x}_2) & \phi_2 (\mathbf{x}_2) & \cdots & \phi_N(\mathbf{x}_2)\\
\vdots & \vdots & \ddots & \vdots\\
\phi_1(\mathbf{x}_N) & \phi_2(\mathbf{x}_N) & \cdots & \phi_N(\mathbf{x}_N)
\end{vmatrix}
\label{eqn:SlaterDet}
\end{equation}
%
Here, the $\phi_i$ denote one-electron spin-orbitals and
$\mathbf{x}_i=\{\mathbf{r}_i,\omega_i\}$ are spatial ($\mathbf{r}_i$) and spin
($\omega_i$) coordinates of the electrons. A Slater determinant obeys the Pauli
exclusion principle for fermions, which requires the electronic wave function to be
anti-symmetric with respect to interchanging the coordinates of any two electrons.
In the Hartree-Fock approximation the energy of a single Slater determinant is
used as an approximation for the total energy of the system. As explained
previously, the energy of a wave function can be determined by the action of
the Hamilton operator on the wave function. The Hamilton operator in the
Born-Oppenheimer approximation from equation~\eqref{eqn:hamiltonoperatorfinal}
can be rewritten in terms of one-electron operators $\mathbf{h}_i$.
%
\begin{align}
\begin{aligned}
\mathbf{H}&=\sum_i^N\left(\mathbf{h}_i + \sum_{j>i}^N\frac{1}{|\mathbf{r}_i-\mathbf{r}_j|}\right) + V_\text{nn} \\
\mathbf{h}_i&=-\frac{1}{2}\nabla_i^2-\sum_A^M\frac{Z_A}{|\mathbf{r}_A-\mathbf{r}_i|}\label{eqn:hamiltonoperatorhartreefock}
\end{aligned}
\end{align}
%
$\mathbf{h}_i$ depends only on the kinetic energy of electron $i$ and its
potential energy in the field of all $M$ nuclei. When $\mathbf{h}_i$ acts on a
Slater determinant the result is the respective matrix element $h_i$. Only parts
of the Slater determinant without permutation of electron coordinates can give a
non-zero contribution to the eigenvalue.
%
\begin{align}
\begin{aligned}
h_1&=\mel{\phi_1(\mathbf{x}_1)\phi_2(\mathbf{x}_2)\ldots\phi_N(\mathbf{x}_N)}{\mathbf{h}_1}{\phi_1(\mathbf{x}_1)\phi_2(\mathbf{x}_2)\ldots\phi_N(\mathbf{x}_N)}\\
&=\mel{\phi_1(\mathbf{x}_1)}{\mathbf{h}_1}{\phi_1(\mathbf{x}_1)}\braket{\phi_2(\mathbf{x}_2)}\ldots\braket{\phi_N(\mathbf{x}_N)} \\
&=\mel{\phi_1(\mathbf{x}_1)}{\mathbf{h}_1}{\phi_1(\mathbf{x}_1)}
\end{aligned}
\end{align}
%
The remainder of the Hamilton operator from
equation~\eqref{eqn:hamiltonoperatorhartreefock} depends on two electron
coordinates, therefore, it is convenient to define a two-electron operator
$\mathbf{g}_{ij}$ with the matrix elements $g_{ij}=r_{ij}^{-1}$. Its action on
the part of the Slater determinant with no permutation of electron coordinates
results in the Coulomb integral and the corresponding matrix element $J_{ij}$,
which can be interpreted as the classical Coulomb repulsion.
%
\begin{align}
\begin{aligned}
J_{12}&=\mel{\phi_1(\mathbf{x}_1)\phi_2(\mathbf{x}_2)\ldots\phi_N(\mathbf{x}_N)}{\mathbf{g}_{12}}{\phi_1(\mathbf{x}_1)\phi_2(\mathbf{x}_2)\ldots\phi_N(\mathbf{x}_N)}\\
&=\mel{\phi_1(\mathbf{x}_1)\phi_2(\mathbf{x}_2)}{\mathbf{g}_{12}}{\phi_1(\mathbf{x}_1)\phi_2(\mathbf{x}_2)}\ldots\braket{\phi_N(\mathbf{x}_N)} \\
&=\mel{\phi_1(\mathbf{x}_1)\phi_2(\mathbf{x}_2)}{\mathbf{g}_{12}}{\phi_1(\mathbf{x}_1)\phi_2(\mathbf{x}_2)}
\end{aligned}
\end{align}
%
As $\mathbf{g}_{ij}$ depends on the coordinates of two electrons it also yields
non-zero matrix elements for parts of the Slater determinant, where two
electron coordinates have been swapped.
%
\begin{align}
\begin{aligned}
K_{12}&=\mel{\phi_1(\mathbf{x}_1)\phi_2(\mathbf{x}_2)\ldots\phi_N(\mathbf{x}_N)}{\mathbf{g}_{12}}{\phi_2(\mathbf{x}_1)\phi_1(\mathbf{x}_2)\ldots\phi_N(\mathbf{x}_N)}\\
&=\mel{\phi_1(\mathbf{x}_1)\phi_2(\mathbf{x}_2)}{\mathbf{g}_{12}}{\phi_2(\mathbf{x}_1)\phi_1(\mathbf{x}_2)}\ldots\braket{\phi_N(\mathbf{x}_N)} \\
&=\mel{\phi_1(\mathbf{x}_1)\phi_2(\mathbf{x}_2)}{\mathbf{g}_{12}}{\phi_2(\mathbf{x}_1)\phi_1(\mathbf{x}_2)}
\end{aligned}
\end{align}
%
$K_{ij}$ is called the exchange integral and has no classical interpretation.
As swapping coordinates in the Slater determinant changes its sign, the result
of the exchange integral has a negative sign. The total energy of the system is
now given by the sum over all integrals described above.
%
\begin{align}
E=\sum_{i=1}^Nh_i + \frac{1}{2}\sum_{i=1}^N\sum_{j=1}^N(J_{ij}-K_{ij})+V_\text{nn}\label{eqn:HFenergy}
\end{align}
%
Defining operators $\mathbf{J}_i$ and $\mathbf{K}_i$ for Coulomb and exchange
integral equation~\eqref{eqn:HFenergy} becomes
%
\begin{align}\label{eqn:HFenergyoperator}
E=\sum_{i=1}^N\mel{\phi_i}{\mathbf{h}_i}{\phi_i} + \frac{1}{2}\sum_{i=1}^N\sum_{j=1}^N \left( \mel{\phi_i}{\mathbf{J}_j}{\phi_i} - \mel{\phi_i}{\mathbf{K}_j}{\phi_i} \right) + V_\text{nn}\\
\begin{aligned}
\mathbf{J}_i\ket{\phi_j(\mathbf{x}_j)}&=\mel{\phi_i(\mathbf{x}_i)}{\mathbf{g}_{ij}}{\phi_i(\mathbf{x}_i)}\ket{\phi_j(\mathbf{x}_j)}\\
\mathbf{K}_i\ket{\phi_j(\mathbf{x}_j)}&=\mel{\phi_i(\mathbf{x}_i)}{\mathbf{g}_{ij}}{\phi_j(\mathbf{x}_i)}\ket{\phi_i(\mathbf{x}_j)}.
\end{aligned}
\end{align}
%
For the purpose of quantum chemical calculations the energy of an arbitrary
Slater determinant is usually not useful. More interesting, however, is to find
the Slater determinant that minimises the energy under the boundary condition of
keeping the orthonormality condition between spin orbitals. In other words, we
try to find the derivative of equation~\eqref{eqn:HFenergyoperator}. Minimising
the energy under external boundary conditions can be achieved using Lagrange
multipliers. With their help it is possible to define the Fock operator
$\mathbf{f}_i$, which is an effective one-electron operator.
%
\begin{align}
\mathbf{f}_i=\mathbf{h}_i + \sum_j^N\left( \mathbf{J}_j - \mathbf{K}_j \right)
\end{align}
%
The action of the Fock operator on an element of the Slater determinant yields
the Hartree-Fock equations.
%
\begin{align}
\mathbf{f}_i\ket{\phi_i}=\sum_j^N\lambda_{ij}\ket{\phi_j}\label{eqn:HFequations}
\end{align}
%
$\lambda_{ij}$ are Lagrange multipliers remaining from the constrained
minimisation. They can be re-written in matrix form and subsequently
diagonalised by a unitary transformation. This yields the canonical
Hartree-Fock equations.
%
\begin{align}
\mathbf{f}_i\ket{\phi'_i}=\sum_j^N\varepsilon_i\ket{\phi'_j}\label{eqn:HFequationscanonical}
\end{align}
%
$\varepsilon_i$ are orbital energies of the electrons. According to Koopman's
theorem they can be interpreted as ionisation energies for occupied (and
sometimes electron affinities for unoccupied) states. The Fock operator depends on all
occupied states, making it a pseudo eigenvalue equation. Hence, solutions have
to be found iteratively starting from and arbitrary set of orbitals. After a
set of convergence criteria has been met, the effective potential is said to
remain unchanged, creating a \ac{SCF} solution. \\
Solving the canonical Hartree-Fock equations numerically for larger systems will
be possible in the future, but is too costly with the algorithms currently available.
Instead, they are solved using an analytical basis set expansion to
approximate the unknown molecular orbitals. The basis functions are usually
chosen to agree with the underlying physics of the system. For example,
periodic plane waves are usually used when periodic boundary conditions are
required. For calculations in the gas phase the basis functions are usually
exponential functions centred at the nuclei. In this case the approximation is
called \ac{LCAO}. Technically, a basis set expansion is not an approximation,
but as one is limited to a finite amount of basis functions $P$ the expansion
does not give an exact expression for a molecular orbital $\phi_i$. For a set
of $P$ basis functions $\chi_\alpha$ the expansion can be expressed as
follows.
%
\begin{align}
\phi_i=\sum_\alpha^Pc_{\alpha i}\chi_\alpha
\end{align}
%
This leads to the Hartree-Fock equations expressed in the basis set
approximation.
%
\begin{align}
\begin{aligned}
\mathbf{f}_i\sum_\alpha^Pc_{\alpha i}\chi_\alpha&=\varepsilon_i\sum_\alpha^Pc_{\alpha i}\chi_\alpha \\
\sum_\alpha^Pc_{\alpha i}\underbrace{\mel{\chi_\alpha}{\mathbf{f}_i}{\chi_\beta}}_{F_{\alpha\beta}}&=\varepsilon_i\sum_\alpha^Pc_{\alpha i}\underbrace{\braket{\chi_\alpha}{\chi_\beta}}_{S_{\alpha\beta}}
\end{aligned}
\end{align}
%
These are the Roothaan-Hall
equations\autocite{Roothaan_NewDevelopmentsMolecular_1951,Hall_molecularorbitaltheory_1951}
which are usually written in matrix form.
%
\begin{align}
\mathbf{FC}=\mathbf{SC\varepsilon}
\end{align}
%
$\mathbf{F}$ is the Fock matrix, $\mathbf{S}$ is the overlap matrix and
$\mathbf{C}$ contains the orbital coefficients. These equations have to be
solved iteratively and to reduce computational cost the first step usually
involves calculating a density matrix $\mathbf{D}$.
%
\begin{align}
\mathbf{D}=\sum_{i}^\text{occ. MO} c_{\mu i}c_{\nu i}
\end{align}
%
$\mathbf{D}$ can be used to generate a Fock matrix, which will be diagonalised
yielding a new set of orbital coefficients. These will be used to generate a
new generation of the density matrix. This procedure will be repeated until
the coefficients of the new generation are equal (up to a certain precision)
to the ones of the parent generation. This marks the end of the \ac{SCF} cycle.
\section{Density Functional Theory}
\label{sec:dft}
The Hartree-Fock method belongs to the class of mean field approximations,
which implies that the electrons do not interact directly with each other, but
each electron is moving in a mean field created by all the other electrons. The
Hartree-Fock energy $E_\text{HF}$ is therefore never exact for a multi-electron
system even in the infinite basis set limit. The difference to the exact energy
$E_0$ was first named electron correlation energy $E_\text{corr}$ by
L\"owdin\autocite{Lowdin_CorrelationProblemManyElectron_1958}.
%
\begin{align}
E_\text{corr} = E_0 - E_\text{HF}
\end{align}
%
Even though the correlation energy only attributes for about \SI{1}{\percent}
of the total electronic energy, it is an important contribution in molecular
systems when small changes in energy are involved. A multitude of methods has
therefore been developed to treat electron correlation more accurately. They
can generally be subdivided into post-Hartree-Fock methods and \ac{DFT}. While
post-Hartree-Fock methods rely on a Hartree-Fock wave function (or its
multi-reference analogues) as a starting point, \ac{DFT} is in principle a wave
function free method. It establishes a connection between the energy of the
system and the (one-particle) electron density $\rho({\mathbf r})$ instead of
the complex wave function that depends on the coordinates of all particles. The
electron density is an observable and a positive real function, which makes
\ac{DFT} easier to grasp than wave function based methods. However, the
electron density is related to the wave function via its square.
%
\begin{align}
\rho(\mathbf{r})=N\int\dots\int|\Psi(\mathbf{x}_1,\mathbf{x}_2,\dots,\mathbf{x}_N)|^2\;\dd\omega_1\dd\mathbf{x}_2\dots\dd\mathbf{x}_N\label{eqn:electrondensity}
\end{align}
%
Equation~\eqref{eqn:electrondensity} describes the probability density of
finding one of the $N$ electrons in the volume $\dd \mathbf{r}_1$. As electrons
are indistinguishable the probability of finding any of the $N$ electrons in
the volume $\dd\mathbf{r}_1$ is equal to $N$ times the probability of finding a
specific electron in that volume. A justification for using the electron
density instead of the wave function was found by Hohenberg and Kohn in
1964.\autocite{Hohenberg_InhomogeneousElectronGas_1964}
\subsection{Hohenberg-Kohn Theorems}
\label{sec:HKtheorems}
The first Hohenberg-Kohn theorem implies that the ground state electron density defines a
unique external potential that contains all information about the system
(there is a one-to-one mapping between the ground state density and the external potential). If
two external potentials are different they cannot lead to the same ground state
electron density. From this, the total energy of a system can be expressed as follows.
%
\begin{align}
E_0\left[ \rho_0(\mathbf{r}) \right] = T\left[ \rho_0(\mathbf{r}) \right] + E_\text{ee} \left[ \rho_0(\mathbf{r}) \right] + E_\text{Ne} \left[ \rho_0(\mathbf{r}) \right]\label{eqn:energyDFT}
\end{align}
%
The aforementioned external potential corresponds to $E_\text{Ne} \left[
\rho_0(\mathbf{r}) \right]$, which is the only system-dependent term of
equation~\eqref{eqn:energyDFT}. The system-independent terms for the kinetic
energy $T\left[ \rho_0(\mathbf{r}) \right]$ and the electron-electron
interaction $E_\text{ee} \left[ \rho_0( \mathbf{r}) \right]$ can be combined
to the Hohenberg-Kohn functional $F_\text{HK}\left[ \rho_0(
\mathbf{r})\right]$.
%