PennyLane is a cross-platform Python library for quantum computing, quantum machine learning, and quantum chemistry. Train a quantum computer the same way as a neural network.
Context:
One of the results from Discovery work in Product formulas was the need to generalize the TrotterProduct class such that it can work on exponentiated operators directly instead of system hamiltonians. This was to support the Compressed Double Factorization (CDF) technique on hamiltonians.
Description of the Change:
Added new TrotterizedQfunc class
Benefits:
Allows users to perform product formula based hamiltonian simulation on CDF hamiltonians.
Generalizes the TrotterProduct class to the case where we have oracle access to the exponentiated terms of the hamiltonian.
Possible Drawbacks:
Not sure how well it plays with program capture
Not sure how well it integrates with catalyst and jax.jit
Context: One of the results from Discovery work in Product formulas was the need to generalize the
TrotterProduct
class such that it can work on exponentiated operators directly instead of system hamiltonians. This was to support the Compressed Double Factorization (CDF) technique on hamiltonians.Description of the Change:
TrotterizedQfunc
classBenefits:
TrotterProduct
class to the case where we have oracle access to the exponentiated terms of the hamiltonian.Possible Drawbacks:
Related GitHub Issues: None