tqec.circuit.moment#

Defines a class analogous to cirq.Moment

This module defines Moment that is very close to the external [cirq.Moment](https://quantumai.google/reference/python/cirq/Moment) class.

Internally, Moment stores the instructions using stim.Circuit instead of using cirq data-structures.

Functions

iter_stim_circuit_without_repeat_by_moments(circuit)

Iterate over the stim.Circuit by moments.

Classes

Moment(circuit[, used_qubits, _avoid_checks])

A collection of instructions that can be executed in parallel.