Organize circuits & tests

This commit is contained in:
2021-11-25 19:00:18 +01:00
parent 9522a57cdd
commit a8e0ee8ca0
29 changed files with 1686 additions and 1415 deletions

View File

@@ -56,7 +56,7 @@ func TestTheta2(t *testing.T) {
qt.Assert(t, bitsToU64Array(s[:]), qt.DeepEquals, sU64[:])
qt.Assert(t, bitsToU64Array(s[:]), qt.DeepEquals,
[]uint64{3749081831850030700, 1297317621190464868, 10017560217643747862, 7854780639862409219, 13836147678645575967, 3749090635727681271, 1297915755455157604, 12323429615135705749, 7855062122598582297, 16141814766035214620, 3749090628446369381, 1297071330560683876, 10017586606556924438, 7854780639837253643, 13835971756788491039, 3749090634251287159, 1297070162329376100, 9369068259580659222, 7854780645071013913, 14484490034407743775, 8360757404916954740, 1801500877105239396, 10017570663003408994, 3243123208712177690, 14628605291203076459})
fmt.Println(bitsToU64(s[1*64:2*64]), s[1*64:2*64])
// fmt.Println(bitsToU64(s[1*64:2*64]), s[1*64:2*64])
// compute again theta on the current state
s = theta(s)