class ColorEncoder5
class SteaneEncoder
class TransversalEncoder
diagram
encode_transversally
program_text(str) — The program to encode transversally.
encoding_flow_generators
initialize
program_text(str) — The state preparation program for k qubits. Generally, this should be a simple program that prepares each of the k qubits in a single-qubit state.encoding_program_text(optional) — An encoding circuit for a single logical qubit. This should encode a single logical qubit at inputself.encoding_qubitinto a state of n qubits. If not provided, the encoder will use a noiseless default encoding.