qcschema_to_problem#
- qcschema_to_problem(qcschema, *, basis=ElectronicBasis.MO, include_dipole=True)[source]#
Builds out an
ElectronicStructureProblemfrom aQCSchemainstance.This method centralizes the construction of an
ElectronicStructureProblemfrom aQCSchema.- প্যারামিটার:
qcschema (QCSchema) -- the
QCSchemaobject from which to build the problem.basis (ElectronicBasis) -- the
ElectronicBasisof the generated problem.include_dipole (bool) -- whether or not to include an
ElectronicDipoleMomentproperty in the generated problem (if the data is available).
- রেইজেস:
QiskitNatureError -- if either of the required 1- or 2-body electronic integrals are missing.
NotImplementedError -- if an unsupported
ElectronicBasisis requested.
- রিটার্নস:
An
ElectronicStructureProbleminstance.- রিটার্ন টাইপ: