paulie.application.pauli_compiler.SubsystemCompiler#
- class paulie.application.pauli_compiler.SubsystemCompiler(cfg)#
Bases:
objectCompiler for the right subsystem contribution.
- extend_left(a_left)#
Extend a left Pauli string by identities on the right.
- extend_pair(u_left, b_right)#
Combine left and right parts into a full-length Pauli string.
- factor_w_orders(w_right)#
Factor
w_rightinto ordered right-local pieces.Each element of the output is a list
[(U_i, B_i)]describing one valid order of factors. Only the Y case has two possible local orderings.
- subsystem_compiler(w_right)#
Compile a target supported only on the right subsystem.