qml.devices.capabilities.parse_toml_document¶
- parse_toml_document(document)[source]¶
Parses a TOML document into a DeviceCapabilities object.
This function will ignore sections that are specific to either runtime interface, such as
"qjit.operators.gates"
. To include these sections, useupdate_device_capabilities()
on the capabilities object returned from this function.
code/api/pennylane.devices.capabilities.parse_toml_document
Download Python script
Download Notebook
View on GitHub