Open alecandido opened 5 months ago
Add a test that checks that:
expectation = lambda circuit, hamiltonian, parameters: ... f1(expectation(c, h, f2(x)))
can be derived on automatically on x in every supported framework (assuming f1 and f2 to have derivative defined in the framework, like np.log...)
x
f1
f2
np.log
Add a test that checks that:
can be derived on automatically on
x
in every supported framework (assumingf1
andf2
to have derivative defined in the framework, likenp.log
...)