Hey all,
a bit curious as to if anyone has worked on adding support for symbolic coefficients for QubitOperator. I imagine a very simple use case would be in defining coefficient dependant Hamiltonians such as
from sympy import Symbol from openfermion.ops import QubitOperator x = Symbol('x') hamiltonian = x * QubitOperator('X0 X5') + 0.3 * QubitOperator('Z0')
Is there any planned support for this currently? If not, happy to try to work on it.
Hey all,
a bit curious as to if anyone has worked on adding support for symbolic coefficients for QubitOperator. I imagine a very simple use case would be in defining coefficient dependant Hamiltonians such as
from sympy import Symbol from openfermion.ops import QubitOperator x = Symbol('x') hamiltonian = x * QubitOperator('X0 X5') + 0.3 * QubitOperator('Z0')Is there any planned support for this currently? If not, happy to try to work on it.