qbraid.runtime.AhsShotResult

class AhsShotResult(success, pre_sequence=None, post_sequence=None)[source]

Class for storing the results of a single shot in an analog Hamiltonian simulation job.

__init__(success, pre_sequence=None, post_sequence=None)

Methods

__init__(success[, pre_sequence, post_sequence])

from_dict(data)

Create an instance from a dictionary, converting lists to numpy arrays.

to_dict()

Convert the instance to a dictionary, converting numpy arrays to lists.

Attributes

post_sequence

pre_sequence

success