openqemist.problem_decomposition.dmet package

Submodules

openqemist.problem_decomposition.dmet.dmet_problem_decomposition module

class openqemist.problem_decomposition.dmet.dmet_problem_decomposition.DMETProblemDecomposition[source]

Bases: openqemist.problem_decomposition.problem_decomposition.ProblemDecomposition

Employ DMET as a problem decomposition technique.

DMET single-shot algorithm is used for problem decomposition technique. By default, CCSD is used as the electronic structure solver, and IAO is used for the localization scheme. Users can define other electronic structure solver such as FCI or VQE as an impurity solver. Meta-Lowdin localization scheme can be used instead of the IAO scheme, which cannot be used for minimal basis set.

electronic_structure_solver

A type of electronic structure solver. Default is CCSD.

Type

subclass of ElectronicStructureSolver

electron_localization_method

A type of localization scheme. Default is IAO.

Type

string

simulate(molecule, fragment_atoms, mean_field=None)[source]

Perform DMET single-shot calculation.

If the mean field is not provided it is automatically calculated.

Parameters
  • molecule (pyscf.gto.Mole) – The molecule to simulate.

  • fragment_atoms (list) – List of number of atoms for each fragment (int).

  • mean_field (pyscf.scf.RHF) – The mean field of the molecule.

Returns

The DMET energy (dmet_energy).

Return type

float64

Raise:

RuntimeError: If the number of atoms in the fragment list agrees with total.

Module contents