qml.data.list_attributes¶
-
list_attributes
(data_name)[source]¶ List the attributes that exist for a specific
data_name
.- Parameters
data_name (str) – The type of the desired data
- Returns
A list of accepted attributes for a given data name
- Return type
list (str)
See also
Example
>>> qml.data.list_attributes(data_name="qchem") ['molname', 'basis', 'bondlength', ... 'vqe_params', 'vqe_energy']
code/api/pennylane.data.list_attributes
Download Python script
Download Notebook
View on GitHub