qml.data

The data subpackage provides functionality to access, store and manipulate quantum datasets.

Datasets are generally stored and accessed using the Dataset class. Pre-computed datasets are available for download and can be accessed using the load() or load_interactive() functions. Additionally, users can easily create, write to disk, and read custom datasets using functions within the Dataset class.

Functions

list_attributes(data_name)

List the attributes that exist for a specific data_name.

list_datasets([path])

Returns a dictionary of the available datasets.

load(data_name[, attributes, lazy, …])

Downloads the data if it is not already present in the directory and return it to user as a Dataset object.

load_interactive()

Download a dataset using an interactive load prompt.

Classes

Dataset(*args[, standard])

Create a dataset object to store a collection of information describing a physical system and its evolution.