(self)
| 98 | assert_equal(trim(res), trim(tgt), err_msg=msg) |
| 99 | |
| 100 | def test_hermpow(self): |
| 101 | for i in range(5): |
| 102 | for j in range(5): |
| 103 | msg = f"At i={i}, j={j}" |
| 104 | c = np.arange(i + 1) |
| 105 | tgt = reduce(herm.hermmul, [c] * j, np.array([1])) |
| 106 | res = herm.hermpow(c, j) |
| 107 | assert_equal(trim(res), trim(tgt), err_msg=msg) |
| 108 | |
| 109 | |
| 110 | class TestEvaluation: |
nothing calls this directly
no test coverage detected