qml.NestedAttrError

class NestedAttrError[source]

Bases: object

This class mocks out the qchem module in case it is not installed. Any attempt to print an instance of this class, or to access an attribute of this class, results in an import error, directing the user to the installation instructions for PennyLane Qchem

error_msg

error_msg = 'PennyLane-QChem not installed. \n\nTo access the qchem module, you can install PennyLane-QChem via pip:\n\npip install pennylane-qchem\n\nFor more details, see the quantum chemistry documentation:\nhttps://pennylane.readthedocs.io/en/stable/introduction/chemistry.html'

Contents

Using PennyLane

Development

API