Commit 184912a4 authored by Martin Reinecke's avatar Martin Reinecke
Browse files


parent 304d4dc4
......@@ -30,6 +30,7 @@ def _assert_allclose(f1, f2, atol, rtol):
for key, val in f1.items():
_assert_allclose(val, f2[key], atol=atol, rtol=rtol)
def adjoint_implementation(op, domain_dtype, target_dtype, atol, rtol):
needed_cap = op.TIMES | op.ADJOINT_TIMES
if (op.capability & needed_cap) != needed_cap:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment