示例#1
0
 def test_are_cliffords(self):
     for U in qubit_clifford_group():
         assert_(self.case_is_clifford(U))
示例#2
0
 def test_clifford_group_len(self):
     assert_(len(list(qubit_clifford_group())) == 24)
示例#3
0
 def test_clifford_group_len(self):
     assert_(len(list(qubit_clifford_group())) == 24)
示例#4
0
 def test_are_cliffords(self):
     for U in qubit_clifford_group():
         yield self.case_is_clifford, U
示例#5
0
 def test_are_cliffords(self):
     for U in qubit_clifford_group():
         assert_(self.case_is_clifford(U))