summaryrefslogtreecommitdiff
path: root/hadamard_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'hadamard_test.cpp')
-rw-r--r--hadamard_test.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/hadamard_test.cpp b/hadamard_test.cpp
index c1dd8cd..e505d79 100644
--- a/hadamard_test.cpp
+++ b/hadamard_test.cpp
@@ -3,7 +3,7 @@
int main() {
double β0 = 1.0;
double β1 = 10.0;
- unsigned N = 8;
+ unsigned N = 4;
unsigned n = 4;
ParallelMeasurement m1;
@@ -15,7 +15,9 @@ int main() {
PT a(β0, β1, N, n, m1, m3);
- while (true) {
- a.tune(1000, 10, 0.1);
+ a.tune(1000, 10, 0.1, 0.1);
+
+ for (MCMC& M : a.Ms) {
+ std::cout << M.β;
}
}