Module: cirq_google.api.v2.results

Classes

class MeasureInfo: Extra info about a single measurement within a circuit.

Functions

find_measurements(...): Find measurements in the given program (circuit).

pack_bits(...): Pack bits given as a numpy array of bools into bytes.

results_from_proto(...): Converts a v2 result proto into List of list of trial results.

results_to_proto(...): Converts trial results from multiple sweeps to v2 protobuf message.

unpack_bits(...): Unpack bits from a byte array into numpy array of bools.