surface_sim.circuit_blocks.decorators#

Decorators for functions that 1. take model: Model and layout: Layout as inputs (nothing else) 2. return a generator the iterates over stim.Circuit(s)

Functions

copy_from(other_func)

Decorator for copying all the logical operation attributes from a function.

logical_measurement_x(func)

logical_measurement_z(func)

logical_noise(func)

noiseless(func)

Decorator for removing all noise channels from a LogOpCallable

pauli_observable_x(func)

pauli_observable_y(func)

pauli_observable_z(func)

qec_circuit(func)

qubit_encoding(func)

qubit_init_x(func)

qubit_init_z(func)

sq_gate(func)

to_end_cycle_circuit(func)

to_mid_cycle_circuit(func)

tq_gate(func)

Classes