pygsti.extras.rb.dataset

Encapsulates RB results and dataset objects

Module Contents

Classes

RBSummaryDataset

An object to summarize the results of RB experiments as relevant to implementing a standard RB analysis on the data.

Functions

create_summary_datasets(ds, spec, datatype='adjusted', verbosity=1)

todo

Attributes

_analysis

pygsti.extras.rb.dataset._analysis
pygsti.extras.rb.dataset.create_summary_datasets(ds, spec, datatype='adjusted', verbosity=1)

todo

class pygsti.extras.rb.dataset.RBSummaryDataset(num_qubits, success_counts=None, total_counts=None, hamming_distance_counts=None, aux={}, finitecounts=True, descriptor='')

Bases: object

An object to summarize the results of RB experiments as relevant to implementing a standard RB analysis on the data. This dataset type only records the “RB length” of a circuit, how many times the circuit resulted in “success”, and, optionally, some basic circuit information that can be helpful in understandingthe results. I.e., it doesn’t store all the details about the circuits and the counts for each circuit (use a standard DataSet object to store the entire output of RB experiments).

adjusted_success_probability(self, length, index)

todo.

success_counts(self, length, index)

todo

total_counts(self, length, index)

todo

hamming_distance_distribution(self, length, index)

todo

success_probabilities(self, successtype='raw')

todo.

add_bootstrapped_datasets(self, samples=1000)

Adds bootstrapped data. The bootstrap is over both the finite counts of each circuit and over the circuits at each length.

Parameters

samples (int, optional) – The number of bootstrapped data to construct.

Returns

None