View source on GitHub |
Calculate the dot product of two wavefunctions. Note that this does
fqe.util.dot(
wfn1: "wavefunction.Wavefunction",
wfn2: "wavefunction.Wavefunction"
) -> complex
not use the conjugate. See vdot for the similar conjugate functionality.
Args | |
---|---|
wfn1 (wavefunction.Wavefunction) - wavefunction corresponding to the row vector wfn2 (wavefunction.Wavefunction) - wavefunction corresponding to the coumn vector |
Returns | |
---|---|
(complex) - scalar as result of the dot product |