State and context for an operation acting on a clifford tableau.

There are two common ways to act on this object:

  1. Directly edit the tableau property, which is storing the clifford tableau of the quantum system with one axis per qubit.
  2. Call record_measurement_result(key, val) to log a measurement result.



View source

Adds a measurement result to the log.

key The key the measurement result should be logged under. Note that operations should only store results under keys they have declared in a _measurement_keys_ method.
value The value to log for the measurement.