This repository has been archived by the owner on Dec 7, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Vibrational structure calculations (#1232)
* bosonic operator class * solved the immutable tuple problem * uvcc variational form * added the Compact Heuristic for Chemistry * added a print function for looking at the relevant exact states * added the support_parametrized_circuit flag. at the moment uvcc and chc don't support it. * added the vModes initial state * renaming VModes to VSCF * Add G16 driver giving log file result * Map indices A to H and fix harmonics * Modified the harmonic integral code to take into consideration the kinetic terms. Removed the omega dependance since it's already taken care of by the parser. added the number of modals as a argument such that it can be modulated by the user. * changed the indexing to match the bosonic operator input + added docstring * parametrized circuit capability for chc and uvcc * fixed the harmonic integrals * parametrized circuit fixed for chc and uvcc * unit tests for vscf, uvcc and chc * test for the bosonic operator and fix the print option for the exact energies in the bosonic operator to work with Statevector objects. Also added a method to return the relevant ground state energy given previous diagonalization in the bosonic operator * fixed the harmonic integral function and fixed the print function of the bosonic operator * unit test for the harmonic integrals * gaussian log for tests * modified gaussian log * Add test to check num qubits has been set * Replace vscf 'u3' gate use (which will be deprecated) by 'u' Co-authored-by: woodsp <[email protected]> Co-authored-by: Manoel Marques <[email protected]> Co-authored-by: Steve Wood <[email protected]>
- Loading branch information