-
Notifications
You must be signed in to change notification settings - Fork 170
Expand file tree
/
Copy pathINSTRUCTIONS
More file actions
41 lines (31 loc) · 813 Bytes
/
INSTRUCTIONS
File metadata and controls
41 lines (31 loc) · 813 Bytes
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
Building the codes
--------------------
To compile the ancilla code:
make app=ancilla
To compile the METTS code:
make app=metts
Running the Codes
--------------------
Edit the files inputfile_ancilla
and inputfile_metts.
Then:
./ancilla inputfile_ancilla
./metts inputfile_metts
Coding Activity
-------------------
(1) Compile and run the ancilla
code. It will generate output files
"en.dat" and "sus.dat" giving
the energy density and susceptibility
as a function of 'coolness' beta.
(2) Search the file "metts.cc" for
lines labeled TODO (3 of these)
Add the missing definitions of
the PUp projection matrix and
upState and downState vectors
to enable measurement in the X
basis.
Then change the "dir" variable
(near the end of main)
to switch from "Z" to "X" on
alternating even/odd steps.