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