qrunch.chemistry.calculators.quantum_selected_configuration_interaction.quantum_selected_configuration_interaction_results

Results of the quantum-selected configuration interaction (QSCI) calculators, carrying a summary of the sampling.

Classes

QuantumSelectedConfigurationInteractionGroundStateProblemCalculatorResult

Result dataclass returned by the QSCI calculators for the ground state.

QuantumSelectedConfigurationInteractionLowestStatesResult

Result dataclass returned by the QSCI calculators for the lowest states.

class QuantumSelectedConfigurationInteractionGroundStateProblemCalculatorResult

Bases: GroundStateProblemCalculatorResult

Result dataclass returned by the QSCI calculators for the ground state.

All fields are immutable (frozen=True) so an instance can be safely reused.

Parameters:
  • initial_active_electrons_energy – Initial (Hartree-Fock) active electrons energy.

  • non_active_electrons_energy – Energy of non-active electrons.

  • nuclear_repulsion – Nuclear repulsion energy.

  • second_order_correction – Second-order energy correction.

  • uncorrected_active_electrons_energy – Final uncorrected active electrons energy.

  • run_summary – Circuits, shots and determinants of the run.

__init__(initial_active_electrons_energy: float, non_active_electrons_energy: float, nuclear_repulsion: float, second_order_correction: ExpectationValue, uncorrected_active_electrons_energy: ExpectationValue, run_summary: SamplingRunSummary, *, _qmmm: QMMMResultEnergies | None = None, solvent: SolventResultEnergies | None = None) → None
Parameters:
Return type:

None

property active_electrons_correlation_energy: ExpectationValue

Correlation energy of the active electrons.

This is the difference between the active electrons energy and the initial (Hartree-Fock) active electrons energy.

property active_electrons_energy: ExpectationValue

Energy of the active electrons.

This does not include nuclear repulsion or the energy of frozen electrons from, e.g., active space or projective embedding.

It may also include a second-order correction, if applicable.

property electronic_energy: ExpectationValue

Energy of all electrons.

This excludes nuclear repulsion and any solvent energy.

initial_active_electrons_energy: float
property initial_electronic_energy: ExpectationValue

Initial electronic energy of all electrons.

property initial_total_energy: ExpectationValue

Initial total energy, including nuclear repulsion and any solvent energy.

non_active_electrons_energy: float
nuclear_repulsion: float
property qm_energy: ExpectationValue | None

The final energy of the quantum region, E_QM, or None without a solvent.

This is the energy of all electrons and nuclear repulsion, i.e., the energy of the quantum region as in isolation but with orbitals polarized by the environment.

run_summary: SamplingRunSummary
second_order_correction: ExpectationValue
solvent: SolventResultEnergies | None = None
property solvent_energy: float | None

Final solvent energy, or None without a solvent.

property total_energy: ExpectationValue

Total energy, including nuclear repulsion and any solvent energy.

uncorrected_active_electrons_energy: ExpectationValue
class QuantumSelectedConfigurationInteractionLowestStatesResult

Bases: LowestStatesResult

Result dataclass returned by the QSCI calculators for the lowest states.

All fields are immutable (frozen=True) so an instance can be safely reused.

Parameters:
  • initial_active_electrons_energy – Initial (Hartree-Fock) active electrons energy.

  • non_active_electrons_energy – Energy of non-active electrons.

  • nuclear_repulsion – Nuclear repulsion energy.

  • second_order_corrections – Second-order energy corrections, one for each lowest state.

  • uncorrected_active_electrons_energies – The uncorrected energies of the active electrons, in order of lowest (ground state) to highest.

  • run_summary – Circuits, shots and determinants of the run, shared by all the states.

__init__(initial_active_electrons_energy: float, non_active_electrons_energy: float, nuclear_repulsion: float, second_order_corrections: LowestStateExpectationValues, uncorrected_active_electrons_energies: LowestStateExpectationValues, run_summary: SamplingRunSummary, *, _qmmm: list[QMMMResultEnergies] | None = None, solvent: list[SolventResultEnergies] | None = None) → None
Parameters:
Return type:

None

property active_electrons_correlation_energy: LowestStateExpectationValues

Correlation energy of the active electrons.

This is the difference between the active electrons energy and the initial (Hartree-Fock) active electrons energy.

property active_electrons_energies: LowestStateExpectationValues

Energy of the active electrons.

This does not include nuclear repulsion or the energy of frozen electrons from, e.g., active space or projective embedding.

It may also include a second-order correction, if applicable.

property electronic_energies: LowestStateExpectationValues

Energy of all electrons.

This excludes nuclear repulsion and any solvent energy.

initial_active_electrons_energy: float
property initial_electronic_energy: ExpectationValue

Initial electronic energy of all electrons.

property initial_total_energy: ExpectationValue

Initial total energy, including nuclear repulsion and any solvent energy.

property n_lowest_states: int

Number of lowest states considered.

non_active_electrons_energy: float
nuclear_repulsion: float
property qm_energies: LowestStateExpectationValues | None

The final energy of the quantum region, E_QM, of each state, or None without a solvent.

This is the energy of all electrons and nuclear repulsion, i.e., the energy of the quantum region as in isolation but with orbitals polarized by the environment.

run_summary: SamplingRunSummary
second_order_corrections: LowestStateExpectationValues
solvent: list[SolventResultEnergies] | None = None
property solvent_energies: list[float] | None

Final solvent energy of each state, or None without a solvent.

property total_energies: LowestStateExpectationValues

Total energy, including nuclear repulsion and any solvent energy.

uncorrected_active_electrons_energies: LowestStateExpectationValues