qbraid.runtime.native.QuEraQasmSimulatorResultData

class QuEraQasmSimulatorResultData(backend, quera_simulation_result=None, **kwargs)[source]

Class for storing and accessing the results of a QuEra QASM simulator job.

Create a new QuEraSimulatorResultData instance.

__init__(backend, quera_simulation_result=None, **kwargs)[source]

Create a new QuEraSimulatorResultData instance.

Methods

__init__(backend[, quera_simulation_result])

Create a new QuEraSimulatorResultData instance.

from_dict(data)

Creates a new GateModelResult instance from a dictionary.

from_object(model, **kwargs)

Creates a new ResultData instance from an ExperimentMetadata object.

get_counts([include_zero_values, decimal])

Returns the histogram data of the run with optional zero values and binary/decimal keys.

get_logs()

Returns the logs generated during the simulation as a pandas DataFrame.

get_probabilities([include_zero_values, decimal])

Returns the probabilities of the measurement outcomes based on counts.

get_qpu_state()

Returns the state of the QPU atoms used in the simulation.

to_dict()

Converts the GateModelResulData instance to a dictionary.

Attributes

backend

Returns the backend used.

experiment_type

Returns the experiment type.

flair_visual_version

Returns the version of the flair visualizer used.

measurement_counts

Returns the histogram data of the run as passed in the constructor.

measurements

Returns the measurements data of the run.

quera_simulation_result

Returns the QuEra simulation result.