-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathProgram.qs
More file actions
35 lines (31 loc) · 1.02 KB
/
Program.qs
File metadata and controls
35 lines (31 loc) · 1.02 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
namespace VFT {
open Microsoft.Quantum.Intrinsic;
@EntryPoint()
operation RunExperiment(exp: String, id: Int, runs: Int, n: Int, t: Double, spin: Bool, phase: Double, layers: Int, verbose: Bool, csv: Bool) : Unit {
if (!csv) {
Message("--START OF RUN--");
}
// Check for default values
if (exp == "VacuumAlphaDelta") {
VacuumAlphaDeltaExperiment(runs);
}
if (exp == "VacuumInteractionTime") {
VacuumInteractionTime(runs, t);
}
if (exp == "MultiQubitVacuumInteraction") {
MultiQubitVacuumInteraction(runs, t, n);
}
if (exp == "Wormholes") {
Wormholes(id, n, runs, spin, phase, layers, verbose, csv);
}
if (exp == "EntanglementSwapping") {
EntanglementSwapping();
}
if (exp == "VacuumShielding") {
VacuumShielding(runs, t);
}
if (!csv) {
Message("--END OF RUN--");
}
}
}