ManyBodyKeywords
- pydantic model qcmanybody.models.v2.ManyBodyKeywords[source]
The many-body-specific keywords for user control.
Show JSON schema
{ "title": "ManyBodyKeywords", "description": "The many-body-specific keywords for user control.", "type": "object", "properties": { "schema_name": { "const": "qcschema_many_body_keywords", "default": "qcschema_many_body_keywords", "title": "Schema Name", "type": "string" }, "bsse_type": { "default": [ "cp" ], "description": "Requested BSSE treatments. First in list determines which interaction or total energy/gradient/Hessian returned.", "items": { "$ref": "#/$defs/BsseEnum" }, "title": "Bsse Type", "type": "array" }, "embedding_charges": { "anyOf": [ { "additionalProperties": { "items": { "type": "number" }, "type": "array" }, "type": "object" }, { "type": "null" } ], "default": null, "description": "Atom-centered point charges to be used on molecule fragments whose basis sets are not included in the computation. Keys: 1-based index of fragment. Values: list of atom charges for that fragment. At present, QCManyBody will only accept non-None values of this keyword if environment variable QCMANYBODY_EMBEDDING_CHARGES is set.", "shape": [ "nfr", "<varies: nat in ifr>" ], "title": "Embedding Charges" }, "return_total_data": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "description": "When True, returns the total data (energy/gradient/Hessian) of the system, otherwise returns interaction data. Default is False for energies, True for gradients and Hessians. Note that the calculation of counterpoise corrected total energies implies the calculation of the energies of monomers in the monomer basis, hence specifying ``return_total_data = True`` may carry out more computations than ``return_total_data = False``. For gradients and Hessians, ``return_total_data = False`` is rarely useful.", "title": "Return Total Data" }, "levels": { "anyOf": [ { "additionalProperties": { "type": "string" }, "type": "object" }, { "type": "null" } ], "default": null, "description": "Dictionary of different levels of theory for different levels of expansion. Note that the primary method_string is not used when this keyword is given. ``supersystem`` computes all higher order n-body effects up to the number of fragments; this higher-order correction uses the nocp basis, regardless of bsse_type. A method fills in for any lower unlisted nbody levels. Note that if both this and max_nbody are provided, they must be consistent. Examples: SUPERSYSTEM definition suspect* {1: 'ccsd(t)', 2: 'mp2', 'supersystem': 'scf'} * {2: 'ccsd(t)/cc-pvdz', 3: 'mp2'} * Now invalid: {1: 2, 2: 'ccsd(t)/cc-pvdz', 3: 'mp2'} ", "title": "Levels" }, "max_nbody": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "description": "Maximum number of bodies to include in the many-body treatment. Possible: max_nbody <= nfragments. Default: max_nbody = nfragments.", "title": "Max Nbody" }, "supersystem_ie_only": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": false, "description": "Target the supersystem total/interaction energy (IE) data over the many-body expansion (MBE) analysis, thereby omitting intermediate-body calculations. When False (default), compute each n-body level in the MBE up through ``max_nbody``. When True (only allowed for ``max_nbody = nfragments`` ), only compute enough for the overall interaction/total energy: max_nbody-body and 1-body. When True, properties ``INTERACTION {driver} THROUGH {max_nbody}-BODY`` will always be available; ``TOTAL {driver} THROUGH {max_nbody}-BODY`` will be available depending on ``return_total_data`` ; and ``{max_nbody}-BODY CONTRIBUTION TO {driver}`` won't be available (except for dimers). This keyword produces no savings for a two-fragment molecule. But for the interaction energy of a three-fragment molecule, for example, 2-body subsystems can be skipped with ``supersystem_ie_only=True``. Do not use with ``vmfc`` in ``bsse_type`` as it cannot produce savings.", "title": "Supersystem Ie Only" } }, "$defs": { "BsseEnum": { "description": "Available basis-set superposition error (BSSE) treatments.", "enum": [ "nocp", "cp", "vmfc", "cp", "nocp", "nocp" ], "title": "BsseEnum", "type": "string" } }, "additionalProperties": false }
- Fields:
- Validators:
- field bsse_type: List[BsseEnum] = [BsseEnum.cp]
Requested BSSE treatments. First in list determines which interaction or total energy/gradient/Hessian returned.
- Validated by:
- field embedding_charges: Optional[Dict[int, List[float]]] = None
Atom-centered point charges to be used on molecule fragments whose basis sets are not included in the computation. Keys: 1-based index of fragment. Values: list of atom charges for that fragment. At present, QCManyBody will only accept non-None values of this keyword if environment variable QCMANYBODY_EMBEDDING_CHARGES is set.
- field levels: Optional[Dict[Union[int, Literal['supersystem']], str]] = None
Dictionary of different levels of theory for different levels of expansion. Note that the primary method_string is not used when this keyword is given.
supersystemcomputes all higher order n-body effects up to the number of fragments; this higher-order correction uses the nocp basis, regardless of bsse_type. A method fills in for any lower unlisted nbody levels. Note that if both this and max_nbody are provided, they must be consistent. Examples: SUPERSYSTEM definition suspect* {1: ‘ccsd(t)’, 2: ‘mp2’, ‘supersystem’: ‘scf’} * {2: ‘ccsd(t)/cc-pvdz’, 3: ‘mp2’} * Now invalid: {1: 2, 2: ‘ccsd(t)/cc-pvdz’, 3: ‘mp2’}
- field max_nbody: Optional[int] = None
Maximum number of bodies to include in the many-body treatment. Possible: max_nbody <= nfragments. Default: max_nbody = nfragments.
- field return_total_data: Optional[bool] = None
When True, returns the total data (energy/gradient/Hessian) of the system, otherwise returns interaction data. Default is False for energies, True for gradients and Hessians. Note that the calculation of counterpoise corrected total energies implies the calculation of the energies of monomers in the monomer basis, hence specifying
return_total_data = Truemay carry out more computations thanreturn_total_data = False. For gradients and Hessians,return_total_data = Falseis rarely useful.
- field schema_name: Literal['qcschema_many_body_keywords'] = 'qcschema_many_body_keywords'
- field supersystem_ie_only: Optional[bool] = False
Target the supersystem total/interaction energy (IE) data over the many-body expansion (MBE) analysis, thereby omitting intermediate-body calculations. When False (default), compute each n-body level in the MBE up through
max_nbody. When True (only allowed formax_nbody = nfragments), only compute enough for the overall interaction/total energy: max_nbody-body and 1-body. When True, propertiesINTERACTION {driver} THROUGH {max_nbody}-BODYwill always be available;TOTAL {driver} THROUGH {max_nbody}-BODYwill be available depending onreturn_total_data; and{max_nbody}-BODY CONTRIBUTION TO {driver}won’t be available (except for dimers). This keyword produces no savings for a two-fragment molecule. But for the interaction energy of a three-fragment molecule, for example, 2-body subsystems can be skipped withsupersystem_ie_only=True. Do not use withvmfcinbsse_typeas it cannot produce savings.