From f895970c19e48a95f1a0c268000e9b7c80fab77f Mon Sep 17 00:00:00 2001 From: Tyson Jones Date: Wed, 12 Dec 2018 17:30:02 +0000 Subject: [PATCH] Manually restoring aux unit test files I can't explain why these weren't brought forward with the merge from dev into master --- tests/unit/controlledCompactUnitary1.out | 9 +++++++++ tests/unit/controlledCompactUnitary2.out | 9 +++++++++ tests/unit/controlledCompactUnitary3.out | 9 +++++++++ tests/unit/controlledCompactUnitary4.out | 9 +++++++++ tests/unit/controlledCompactUnitary5.out | 9 +++++++++ tests/unit/controlledCompactUnitary6.out | 9 +++++++++ tests/unit/controlledCompactUnitary7.out | 9 +++++++++ tests/unit/controlledCompactUnitary8.out | 9 +++++++++ tests/unit/controlledCompactUnitary9.out | 9 +++++++++ tests/unit/controlledNot1.out | 9 +++++++++ tests/unit/controlledNot2.out | 9 +++++++++ tests/unit/controlledNot3.out | 9 +++++++++ tests/unit/controlledNot4.out | 9 +++++++++ tests/unit/controlledNot5.out | 9 +++++++++ tests/unit/controlledNot6.out | 9 +++++++++ tests/unit/controlledNot7.out | 9 +++++++++ tests/unit/controlledNot8.out | 9 +++++++++ tests/unit/controlledNot9.out | 9 +++++++++ tests/unit/filterOut1111.in | 9 +++++++++ tests/unit/filterOut1111.out | 9 +++++++++ tests/unit/hadamard1.out | 9 +++++++++ tests/unit/hadamard2.out | 9 +++++++++ tests/unit/hadamard3.out | 9 +++++++++ tests/unit/multiControlledUnitary1.out | 17 +++++++++++++++++ tests/unit/multiControlledUnitary2.out | 17 +++++++++++++++++ tests/unit/probOfFilterOut1111.in | 9 +++++++++ tests/unit/sGate1.out | 9 +++++++++ tests/unit/sGate2.out | 9 +++++++++ tests/unit/sGate3.out | 9 +++++++++ tests/unit/tGate1.out | 9 +++++++++ tests/unit/tGate2.out | 9 +++++++++ tests/unit/tGate3.out | 9 +++++++++ 32 files changed, 304 insertions(+) create mode 100644 tests/unit/controlledCompactUnitary1.out create mode 100644 tests/unit/controlledCompactUnitary2.out create mode 100644 tests/unit/controlledCompactUnitary3.out create mode 100644 tests/unit/controlledCompactUnitary4.out create mode 100644 tests/unit/controlledCompactUnitary5.out create mode 100644 tests/unit/controlledCompactUnitary6.out create mode 100644 tests/unit/controlledCompactUnitary7.out create mode 100644 tests/unit/controlledCompactUnitary8.out create mode 100644 tests/unit/controlledCompactUnitary9.out create mode 100644 tests/unit/controlledNot1.out create mode 100644 tests/unit/controlledNot2.out create mode 100644 tests/unit/controlledNot3.out create mode 100644 tests/unit/controlledNot4.out create mode 100644 tests/unit/controlledNot5.out create mode 100644 tests/unit/controlledNot6.out create mode 100644 tests/unit/controlledNot7.out create mode 100644 tests/unit/controlledNot8.out create mode 100644 tests/unit/controlledNot9.out create mode 100644 tests/unit/filterOut1111.in create mode 100644 tests/unit/filterOut1111.out create mode 100644 tests/unit/hadamard1.out create mode 100644 tests/unit/hadamard2.out create mode 100644 tests/unit/hadamard3.out create mode 100644 tests/unit/multiControlledUnitary1.out create mode 100644 tests/unit/multiControlledUnitary2.out create mode 100644 tests/unit/probOfFilterOut1111.in create mode 100644 tests/unit/sGate1.out create mode 100644 tests/unit/sGate2.out create mode 100644 tests/unit/sGate3.out create mode 100644 tests/unit/tGate1.out create mode 100644 tests/unit/tGate2.out create mode 100644 tests/unit/tGate3.out diff --git a/tests/unit/controlledCompactUnitary1.out b/tests/unit/controlledCompactUnitary1.out new file mode 100644 index 000000000..b670f3ac9 --- /dev/null +++ b/tests/unit/controlledCompactUnitary1.out @@ -0,0 +1,9 @@ +# nQubits=3, initDebug, rotQubit=0, controlQubit=0 +0.00820689635760, -0.30905091682644 +0.15879178686658, 0.13858335428409 +0.00405631396590, -0.66206581574289 +0.86339781460184, 0.27603734472437 +-0.00009426842579, -1.01508071465933 +1.56800384233710, 0.41349133516466 +-0.00424485081749, -1.36809561357578 +2.27260987007236, 0.55094532560494 diff --git a/tests/unit/controlledCompactUnitary2.out b/tests/unit/controlledCompactUnitary2.out new file mode 100644 index 000000000..5cdbef41f --- /dev/null +++ b/tests/unit/controlledCompactUnitary2.out @@ -0,0 +1,9 @@ +# nQubits=3, initDebug, rotQubit=1, controlQubit=0 +0.00000000000000, 0.10000000000000 +-0.02926953804624, -0.74996359794759 +0.40000000000000, 0.50000000000000 +0.59899258293891, 0.24063620151638 +0.80000000000000, 0.90000000000000 +-0.03757070282964, -1.45599339578048 +1.20000000000000, 1.30000000000000 +2.00820463840944, 0.51554418239694 diff --git a/tests/unit/controlledCompactUnitary3.out b/tests/unit/controlledCompactUnitary3.out new file mode 100644 index 000000000..5845eed41 --- /dev/null +++ b/tests/unit/controlledCompactUnitary3.out @@ -0,0 +1,9 @@ +# nQubits=3, initDebug, rotQubit=2, controlQubit=0 +0.00000000000000, 0.10000000000000 +-0.10007182446223, -1.27877406127345 +0.40000000000000, 0.50000000000000 +-0.10422240685393, -1.63178896018989 +0.80000000000000, 0.90000000000000 +0.77478814734832, 0.30728790554067 +1.20000000000000, 1.30000000000000 +1.47939417508358, 0.44474189598095 diff --git a/tests/unit/controlledCompactUnitary4.out b/tests/unit/controlledCompactUnitary4.out new file mode 100644 index 000000000..2d4f4ce52 --- /dev/null +++ b/tests/unit/controlledCompactUnitary4.out @@ -0,0 +1,9 @@ +# nQubits=3, initDebug, rotQubit=0, controlQubit=1 +0.00000000000000, 0.10000000000000 +0.20000000000000, 0.30000000000000 +0.00405631396590, -0.66206581574289 +0.86339781460184, 0.27603734472437 +0.80000000000000, 0.90000000000000 +1.00000000000000, 1.10000000000000 +-0.00424485081749, -1.36809561357578 +2.27260987007236, 0.55094532560494 diff --git a/tests/unit/controlledCompactUnitary5.out b/tests/unit/controlledCompactUnitary5.out new file mode 100644 index 000000000..4f45cf3c6 --- /dev/null +++ b/tests/unit/controlledCompactUnitary5.out @@ -0,0 +1,9 @@ +# nQubits=3, initDebug, rotQubit=1, controlQubit=1 +-0.02719424685040, -0.57345614848937 +-0.02926953804624, -0.74996359794759 +0.24668956907128, 0.17190920629624 +0.59899258293891, 0.24063620151638 +-0.03549541163379, -1.27948594632226 +-0.03757070282964, -1.45599339578048 +1.65590162454181, 0.44681718717680 +2.00820463840944, 0.51554418239694 diff --git a/tests/unit/controlledCompactUnitary6.out b/tests/unit/controlledCompactUnitary6.out new file mode 100644 index 000000000..7a845b879 --- /dev/null +++ b/tests/unit/controlledCompactUnitary6.out @@ -0,0 +1,9 @@ +# nQubits=3, initDebug, rotQubit=2, controlQubit=1 +0.00000000000000, 0.10000000000000 +0.20000000000000, 0.30000000000000 +-0.10214711565808, -1.45528151073167 +-0.10422240685393, -1.63178896018989 +0.80000000000000, 0.90000000000000 +1.00000000000000, 1.10000000000000 +1.12709116121595, 0.37601490076081 +1.47939417508358, 0.44474189598095 diff --git a/tests/unit/controlledCompactUnitary7.out b/tests/unit/controlledCompactUnitary7.out new file mode 100644 index 000000000..ecefa3357 --- /dev/null +++ b/tests/unit/controlledCompactUnitary7.out @@ -0,0 +1,9 @@ +# nQubits=3, initDebug, rotQubit=0, controlQubit=2 +0.00000000000000, 0.10000000000000 +0.20000000000000, 0.30000000000000 +0.40000000000000, 0.50000000000000 +0.60000000000000, 0.70000000000000 +-0.00009426842579, -1.01508071465933 +1.56800384233710, 0.41349133516466 +-0.00424485081749, -1.36809561357578 +2.27260987007236, 0.55094532560494 diff --git a/tests/unit/controlledCompactUnitary8.out b/tests/unit/controlledCompactUnitary8.out new file mode 100644 index 000000000..56aed67e0 --- /dev/null +++ b/tests/unit/controlledCompactUnitary8.out @@ -0,0 +1,9 @@ +# nQubits=3, initDebug, rotQubit=1, controlQubit=2 +0.00000000000000, 0.10000000000000 +0.20000000000000, 0.30000000000000 +0.40000000000000, 0.50000000000000 +0.60000000000000, 0.70000000000000 +-0.03549541163379, -1.27948594632226 +-0.03757070282964, -1.45599339578048 +1.65590162454181, 0.44681718717680 +2.00820463840944, 0.51554418239694 diff --git a/tests/unit/controlledCompactUnitary9.out b/tests/unit/controlledCompactUnitary9.out new file mode 100644 index 000000000..a62e2d8db --- /dev/null +++ b/tests/unit/controlledCompactUnitary9.out @@ -0,0 +1,9 @@ +# nQubits=3, initDebug, rotQubit=2, controlQubit=2 +-0.09799653326639, -1.10226661181522 +-0.10007182446223, -1.27877406127345 +-0.10214711565808, -1.45528151073167 +-0.10422240685393, -1.63178896018989 +0.42248513348069, 0.23856091032053 +0.77478814734832, 0.30728790554067 +1.12709116121595, 0.37601490076081 +1.47939417508358, 0.44474189598095 diff --git a/tests/unit/controlledNot1.out b/tests/unit/controlledNot1.out new file mode 100644 index 000000000..b13a9a330 --- /dev/null +++ b/tests/unit/controlledNot1.out @@ -0,0 +1,9 @@ +# nQubits=3, initDebug, rotQubit=0, controlQubit=0 +0.20000000000000, 0.30000000000000 +0.00000000000000, 0.10000000000000 +0.60000000000000, 0.70000000000000 +0.40000000000000, 0.50000000000000 +1.00000000000000, 1.10000000000000 +0.80000000000000, 0.90000000000000 +1.40000000000000, 1.50000000000000 +1.20000000000000, 1.30000000000000 diff --git a/tests/unit/controlledNot2.out b/tests/unit/controlledNot2.out new file mode 100644 index 000000000..f8f988d39 --- /dev/null +++ b/tests/unit/controlledNot2.out @@ -0,0 +1,9 @@ +# nQubits=3, initDebug, rotQubit=1, controlQubit=0 +0.00000000000000, 0.10000000000000 +0.60000000000000, 0.70000000000000 +0.40000000000000, 0.50000000000000 +0.20000000000000, 0.30000000000000 +0.80000000000000, 0.90000000000000 +1.40000000000000, 1.50000000000000 +1.20000000000000, 1.30000000000000 +1.00000000000000, 1.10000000000000 diff --git a/tests/unit/controlledNot3.out b/tests/unit/controlledNot3.out new file mode 100644 index 000000000..b6388eb4f --- /dev/null +++ b/tests/unit/controlledNot3.out @@ -0,0 +1,9 @@ +# nQubits=3, initDebug, rotQubit=2, controlQubit=0 +0.00000000000000, 0.10000000000000 +1.00000000000000, 1.10000000000000 +0.40000000000000, 0.50000000000000 +1.40000000000000, 1.50000000000000 +0.80000000000000, 0.90000000000000 +0.20000000000000, 0.30000000000000 +1.20000000000000, 1.30000000000000 +0.60000000000000, 0.70000000000000 diff --git a/tests/unit/controlledNot4.out b/tests/unit/controlledNot4.out new file mode 100644 index 000000000..9c6ecaa69 --- /dev/null +++ b/tests/unit/controlledNot4.out @@ -0,0 +1,9 @@ +# nQubits=3, initDebug, rotQubit=0, controlQubit=1 +0.00000000000000, 0.10000000000000 +0.20000000000000, 0.30000000000000 +0.60000000000000, 0.70000000000000 +0.40000000000000, 0.50000000000000 +0.80000000000000, 0.90000000000000 +1.00000000000000, 1.10000000000000 +1.40000000000000, 1.50000000000000 +1.20000000000000, 1.30000000000000 diff --git a/tests/unit/controlledNot5.out b/tests/unit/controlledNot5.out new file mode 100644 index 000000000..d44bbbe14 --- /dev/null +++ b/tests/unit/controlledNot5.out @@ -0,0 +1,9 @@ +# nQubits=3, initDebug, rotQubit=1, controlQubit=1 +0.40000000000000, 0.50000000000000 +0.60000000000000, 0.70000000000000 +0.00000000000000, 0.10000000000000 +0.20000000000000, 0.30000000000000 +1.20000000000000, 1.30000000000000 +1.40000000000000, 1.50000000000000 +0.80000000000000, 0.90000000000000 +1.00000000000000, 1.10000000000000 diff --git a/tests/unit/controlledNot6.out b/tests/unit/controlledNot6.out new file mode 100644 index 000000000..9ca3af68b --- /dev/null +++ b/tests/unit/controlledNot6.out @@ -0,0 +1,9 @@ +# nQubits=3, initDebug, rotQubit=2, controlQubit=1 +0.00000000000000, 0.10000000000000 +0.20000000000000, 0.30000000000000 +1.20000000000000, 1.30000000000000 +1.40000000000000, 1.50000000000000 +0.80000000000000, 0.90000000000000 +1.00000000000000, 1.10000000000000 +0.40000000000000, 0.50000000000000 +0.60000000000000, 0.70000000000000 diff --git a/tests/unit/controlledNot7.out b/tests/unit/controlledNot7.out new file mode 100644 index 000000000..b7c5846a4 --- /dev/null +++ b/tests/unit/controlledNot7.out @@ -0,0 +1,9 @@ +# nQubits=3, initDebug, rotQubit=0, controlQubit=2 +0.00000000000000, 0.10000000000000 +0.20000000000000, 0.30000000000000 +0.40000000000000, 0.50000000000000 +0.60000000000000, 0.70000000000000 +1.00000000000000, 1.10000000000000 +0.80000000000000, 0.90000000000000 +1.40000000000000, 1.50000000000000 +1.20000000000000, 1.30000000000000 diff --git a/tests/unit/controlledNot8.out b/tests/unit/controlledNot8.out new file mode 100644 index 000000000..9322bfd77 --- /dev/null +++ b/tests/unit/controlledNot8.out @@ -0,0 +1,9 @@ +# nQubits=3, initDebug, rotQubit=1, controlQubit=2 +0.00000000000000, 0.10000000000000 +0.20000000000000, 0.30000000000000 +0.40000000000000, 0.50000000000000 +0.60000000000000, 0.70000000000000 +1.20000000000000, 1.30000000000000 +1.40000000000000, 1.50000000000000 +0.80000000000000, 0.90000000000000 +1.00000000000000, 1.10000000000000 diff --git a/tests/unit/controlledNot9.out b/tests/unit/controlledNot9.out new file mode 100644 index 000000000..561ec39dc --- /dev/null +++ b/tests/unit/controlledNot9.out @@ -0,0 +1,9 @@ +# nQubits=3, initDebug, rotQubit=2, controlQubit=2 +0.80000000000000, 0.90000000000000 +1.00000000000000, 1.10000000000000 +1.20000000000000, 1.30000000000000 +1.40000000000000, 1.50000000000000 +0.00000000000000, 0.10000000000000 +0.20000000000000, 0.30000000000000 +0.40000000000000, 0.50000000000000 +0.60000000000000, 0.70000000000000 diff --git a/tests/unit/filterOut1111.in b/tests/unit/filterOut1111.in new file mode 100644 index 000000000..10f1560ed --- /dev/null +++ b/tests/unit/filterOut1111.in @@ -0,0 +1,9 @@ +# numQubits=3 +0.0, 0.0 +0.0, 0.0 +0.0, 0.0 +0.0, 0.0 +0.0, 0.0 +0.0, 0.0 +0.0, 0.0 +1.0, 0.0 diff --git a/tests/unit/filterOut1111.out b/tests/unit/filterOut1111.out new file mode 100644 index 000000000..868c5225e --- /dev/null +++ b/tests/unit/filterOut1111.out @@ -0,0 +1,9 @@ +# numQubits=3 +0.37796447300923, 0.00000000000000 +0.37796447300923, 0.00000000000000 +0.37796447300923, 0.00000000000000 +0.37796447300923, 0.00000000000000 +0.37796447300923, 0.00000000000000 +0.37796447300923, 0.00000000000000 +0.37796447300923, 0.00000000000000 +0.00000000000000, 0.00000000000000 diff --git a/tests/unit/hadamard1.out b/tests/unit/hadamard1.out new file mode 100644 index 000000000..b3b953f14 --- /dev/null +++ b/tests/unit/hadamard1.out @@ -0,0 +1,9 @@ +# nQubits=3, initDebug, qubit=0 +0.14142135623731, 0.28284271247462 +-0.14142135623731, -0.14142135623731 +0.70710678118655, 0.84852813742386 +-0.14142135623731, -0.14142135623731 +1.27279220613579, 1.41421356237309 +-0.14142135623731, -0.14142135623731 +1.83847763108502, 1.97989898732233 +-0.14142135623731, -0.14142135623731 diff --git a/tests/unit/hadamard2.out b/tests/unit/hadamard2.out new file mode 100644 index 000000000..8a1706192 --- /dev/null +++ b/tests/unit/hadamard2.out @@ -0,0 +1,9 @@ +# nQubits=3, initDebug, qubit=1 +0.28284271247462, 0.42426406871193 +0.56568542494924, 0.70710678118655 +-0.28284271247462, -0.28284271247462 +-0.28284271247462, -0.28284271247462 +1.41421356237309, 1.55563491861040 +1.69705627484771, 1.83847763108502 +-0.28284271247462, -0.28284271247462 +-0.28284271247462, -0.28284271247462 diff --git a/tests/unit/hadamard3.out b/tests/unit/hadamard3.out new file mode 100644 index 000000000..7ec364e99 --- /dev/null +++ b/tests/unit/hadamard3.out @@ -0,0 +1,9 @@ +# nQubits=3, initDebug, qubit=2 +0.56568542494924, 0.70710678118655 +0.84852813742386, 0.98994949366117 +1.13137084989848, 1.27279220613579 +1.41421356237309, 1.55563491861040 +-0.56568542494924, -0.56568542494924 +-0.56568542494924, -0.56568542494924 +-0.56568542494924, -0.56568542494924 +-0.56568542494924, -0.56568542494924 diff --git a/tests/unit/multiControlledUnitary1.out b/tests/unit/multiControlledUnitary1.out new file mode 100644 index 000000000..94027837f --- /dev/null +++ b/tests/unit/multiControlledUnitary1.out @@ -0,0 +1,17 @@ +# nQubits=4, initDebug, rotQubit=3, mask=q0,q2 +0.00000000000000, 0.10000000000000 +0.20000000000000, 0.30000000000000 +0.40000000000000, 0.50000000000000 +0.60000000000000, 0.70000000000000 +0.80000000000000, 0.90000000000000 +-0.24997756207760, -3.04242478575804 +1.20000000000000, 1.30000000000000 +-0.25412814446930, -3.39543968467448 +1.60000000000000, 1.70000000000000 +1.80000000000000, 1.90000000000000 +2.00000000000000, 2.10000000000000 +2.20000000000000, 2.30000000000000 +2.40000000000000, 2.50000000000000 +2.53559133163767, 0.71549929446982 +2.80000000000000, 2.90000000000000 +3.24019735937293, 0.85295328491011 diff --git a/tests/unit/multiControlledUnitary2.out b/tests/unit/multiControlledUnitary2.out new file mode 100644 index 000000000..c47f7c376 --- /dev/null +++ b/tests/unit/multiControlledUnitary2.out @@ -0,0 +1,17 @@ +# nQubits=4, initDebug, rotQubit=1, mask=q0,q2,q3 +0.00000000000000, 0.10000000000000 +0.20000000000000, 0.30000000000000 +0.40000000000000, 0.50000000000000 +0.60000000000000, 0.70000000000000 +0.80000000000000, 0.90000000000000 +1.00000000000000, 1.10000000000000 +1.20000000000000, 1.30000000000000 +1.40000000000000, 1.50000000000000 +1.60000000000000, 1.70000000000000 +1.80000000000000, 1.90000000000000 +2.00000000000000, 2.10000000000000 +2.20000000000000, 2.30000000000000 +2.40000000000000, 2.50000000000000 +-0.05417303239642, -2.86805299144626 +2.80000000000000, 2.90000000000000 +4.82662874935049, 1.06536014415807 diff --git a/tests/unit/probOfFilterOut1111.in b/tests/unit/probOfFilterOut1111.in new file mode 100644 index 000000000..10f1560ed --- /dev/null +++ b/tests/unit/probOfFilterOut1111.in @@ -0,0 +1,9 @@ +# numQubits=3 +0.0, 0.0 +0.0, 0.0 +0.0, 0.0 +0.0, 0.0 +0.0, 0.0 +0.0, 0.0 +0.0, 0.0 +1.0, 0.0 diff --git a/tests/unit/sGate1.out b/tests/unit/sGate1.out new file mode 100644 index 000000000..e619fa185 --- /dev/null +++ b/tests/unit/sGate1.out @@ -0,0 +1,9 @@ +# nQubits=3, initDebug, qubit=0 +0.00000000000000, 0.10000000000000 +-0.30000000000000, 0.20000000000000 +0.40000000000000, 0.50000000000000 +-0.70000000000000, 0.60000000000000 +0.80000000000000, 0.90000000000000 +-1.10000000000000, 1.00000000000000 +1.20000000000000, 1.30000000000000 +-1.50000000000000, 1.40000000000000 diff --git a/tests/unit/sGate2.out b/tests/unit/sGate2.out new file mode 100644 index 000000000..373e5dba2 --- /dev/null +++ b/tests/unit/sGate2.out @@ -0,0 +1,9 @@ +# nQubits=3, initDebug, qubit=1 +0.00000000000000, 0.10000000000000 +0.20000000000000, 0.30000000000000 +-0.50000000000000, 0.40000000000000 +-0.70000000000000, 0.60000000000000 +0.80000000000000, 0.90000000000000 +1.00000000000000, 1.10000000000000 +-1.30000000000000, 1.20000000000000 +-1.50000000000000, 1.40000000000000 diff --git a/tests/unit/sGate3.out b/tests/unit/sGate3.out new file mode 100644 index 000000000..afb67feca --- /dev/null +++ b/tests/unit/sGate3.out @@ -0,0 +1,9 @@ +# nQubits=3, initDebug, qubit=2 +0.00000000000000, 0.10000000000000 +0.20000000000000, 0.30000000000000 +0.40000000000000, 0.50000000000000 +0.60000000000000, 0.70000000000000 +-0.90000000000000, 0.80000000000000 +-1.10000000000000, 1.00000000000000 +-1.30000000000000, 1.20000000000000 +-1.50000000000000, 1.40000000000000 diff --git a/tests/unit/tGate1.out b/tests/unit/tGate1.out new file mode 100644 index 000000000..2b2b851a8 --- /dev/null +++ b/tests/unit/tGate1.out @@ -0,0 +1,9 @@ +# nQubits=3, initDebug, qubit=0 +0.00000000000000, 0.10000000000000 +-0.07071067811865, 0.35355339059327 +0.40000000000000, 0.50000000000000 +-0.07071067811865, 0.91923881554251 +0.80000000000000, 0.90000000000000 +-0.07071067811865, 1.48492424049175 +1.20000000000000, 1.30000000000000 +-0.07071067811865, 2.05060966544099 diff --git a/tests/unit/tGate2.out b/tests/unit/tGate2.out new file mode 100644 index 000000000..a551f2d79 --- /dev/null +++ b/tests/unit/tGate2.out @@ -0,0 +1,9 @@ +# nQubits=3, initDebug, qubit=1 +0.00000000000000, 0.10000000000000 +0.20000000000000, 0.30000000000000 +-0.07071067811865, 0.63639610306789 +-0.07071067811865, 0.91923881554251 +0.80000000000000, 0.90000000000000 +1.00000000000000, 1.10000000000000 +-0.07071067811865, 1.76776695296637 +-0.07071067811865, 2.05060966544099 diff --git a/tests/unit/tGate3.out b/tests/unit/tGate3.out new file mode 100644 index 000000000..9146751f6 --- /dev/null +++ b/tests/unit/tGate3.out @@ -0,0 +1,9 @@ +# nQubits=3, initDebug, qubit=2 +0.00000000000000, 0.10000000000000 +0.20000000000000, 0.30000000000000 +0.40000000000000, 0.50000000000000 +0.60000000000000, 0.70000000000000 +-0.07071067811865, 1.20208152801713 +-0.07071067811865, 1.48492424049175 +-0.07071067811865, 1.76776695296637 +-0.07071067811865, 2.05060966544099