Introduces methods for application of Hamiltonian functions:
app_sb_phase_polynomial -- applies Hamiltonian function that is given by a semi-Boolean polynomial acting on a list of QuantumVariables
app_phase_polynomial -- applies Hamiltonian function that is given by a polynomial acting on a list of QuantumFloats
Documentation under "Miscellaneous Functions"
Note: Both methods apply diagonal unitaries, therefore should be "lifted" The "lifted" decorator is commented out, otherwise documentation for the methods is not generated properly (at least when I generate it).
Introduces methods for application of Hamiltonian functions:
app_sb_phase_polynomial -- applies Hamiltonian function that is given by a semi-Boolean polynomial acting on a list of QuantumVariables
app_phase_polynomial -- applies Hamiltonian function that is given by a polynomial acting on a list of QuantumFloats
Note: Both methods apply diagonal unitaries, therefore should be "lifted" The "lifted" decorator is commented out, otherwise documentation for the methods is not generated properly (at least when I generate it).