Skip to content

Are there any plans to support symbolic coefficients for QubitOperator? #1053

@andrewprojansky

Description

@andrewprojansky

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.

Metadata

Metadata

Labels

area/functionalityInvolves the features and operations implemented in OpenFermionstatus/awaiting-responseWaiting on a response to a question or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions