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") ['basis_rot_groupings', 'basis_rot_samples', 'dipole_op', ... 'vqe_gates', 'vqe_params']
code/api/pennylane.data.list_attributes
Download Python script
Download Notebook
View on GitHub