peropq.hamiltonian ================== .. py:module:: peropq.hamiltonian Classes ------- .. autoapisummary:: peropq.hamiltonian.Hamiltonian Module Contents --------------- .. py:class:: Hamiltonian(pauli_string_list) Class representing the Hamilonian. .. py:attribute:: pauli_string_list .. py:attribute:: cjs :type: list[complex] :value: [] .. py:method:: get_n_terms() Method returning the number of Pauli Strings. :returns: number of terms (i.e. Pauli strings) of the Hamiltonian. .. py:method:: get_cjs() Method returning the coefficients. :returns: coefficient in front of each term of the Hamiltonian.