Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2022 Sep 23;9(1):582.
doi: 10.1038/s41597-022-01639-1.

QDataSet, quantum datasets for machine learning

Affiliations

QDataSet, quantum datasets for machine learning

Elija Perrier et al. Sci Data. .

Abstract

The availability of large-scale datasets on which to train, benchmark and test algorithms has been central to the rapid development of machine learning as a discipline. Despite considerable advancements, the field of quantum machine learning has thus far lacked a set of comprehensive large-scale datasets upon which to benchmark the development of algorithms for use in applied and theoretical quantum settings. In this paper, we introduce such a dataset, the QDataSet, a quantum dataset designed specifically to facilitate the training and development of quantum machine learning algorithms. The QDataSet comprises 52 high-quality publicly available datasets derived from simulations of one- and two-qubit systems evolving in the presence and/or absence of noise. The datasets are structured to provide a wealth of information to enable machine learning practitioners to use the QDataSet to solve problems in applied quantum computation, such as quantum control, quantum spectroscopy and tomography. Accompanying the datasets on the associated GitHub repository are a set of workbooks demonstrating the use of the QDataSet in a range of optimisation contexts.

PubMed Disclaimer

Conflict of interest statement

The authors declare no competing interests.

Figures

Fig. 1
Fig. 1
Plot of an undistorted (orange) pulse sequence against a related distorted (blue) pulse sequence for the single-qubit Gaussian pulse dataset with x-axis control (‘G_1q_X’) over the course of the experimental runtime. Here f(t) is the functional (Gaussian) form of the pulse sequence for time-steps t. These plots were used in the first step of the verification process for QDataSet. The shift in pulse sequence is consistent with expected effects of distortion filters. The pulse sequences for each dataset can be found in simulation_parameters =⇒ dynamic_operators =⇒ pulses (undistorted) or distorted_pulses for the distorted case (see Table (1) for a description of the dataset characteristics).
Fig. 2
Fig. 2
The frequency response (left) and the phase response (right) of the filter that is used to simulate distortions of the control pulses. The frequency is in units of Hz, and the phase response is in units of rad.
Fig. 3
Fig. 3
Plot of average observable (measurement) value for all observables (index indicates each observable in order of Pauli measurements) for all measurement outcomes for samples drawn from dataset G_1q_X (using TensorFlow ‘tf’, orange line) against the same mean for equivalent simulations in Qutip (blue line - not shown due to identical overlap) for a single dataset. Each dataset was sampled and comparison against Qutip was undertaken with equivalent results. The error between means was of order 10−6 i.e. they were effectively identical (so the blue line is not shown).
Fig. 4
Fig. 4
An example of a quantum state rotation on the Bloch sphere. The |0 > 0, |1⟩ indicates the σz-axis, the X and Y the σx and σy axes respectively. In (a), the vector is residing in a +1 σx eigenstate. By rotating about the σz axis by π/4, the vector is rotated to the right, to the +1 σy eigenstate. A rotation about the σZ axis by angle θ is equivalent to the application of the unitary U(θ)=exp(iθzσz/2).

References

    1. Schuld, M., Bergholm, V., Gogolin, C., Izaac, J. & Killoran, N. Evaluating analytic gradients on quantum hardware. Physical Review A99,032331, 10.1103/PhysRevA.99.032331 (2018).
    1. Verdon, G., Pye, J. & Broughton, M. A Universal Training Algorithm for Quantum Deep Learning. Preprint at http://arxiv.org/abs/1806.09729 (2018).
    1. Biamonte J, et al. Quantum machine learning. Nature. 2017;549:195–202. doi: 10.1038/nature23474. - DOI - PubMed
    1. Amin MH, Andriyash E, Rolfe J, Kulchytskyy B, Melko R. Quantum boltzmann machine. Physical Review X. 2018;8:021050. doi: 10.1103/PhysRevX.8.021050. - DOI
    1. Aïmeur, E., Brassard, G. & Gambs, S. Machine Learning in a Quantum World. In Lamontagne, L. & Marchand, M. (eds.) Advances in Artificial Intelligence, Lecture Notes in Computer Science, 431–442, 10.1007/11766247_37 (Springer, Berlin, Heidelberg, 2006).