pauli_exp_all_x_except_z_at¶
- guppyft.code.iceberg.logical.pauli_exp_all_x_except_z_at(block: Block[N], i: int, phase: float) None[source]¶
Apply the Pauli exponential with Z at
iand X elsewhere.\[\exp(-i \theta ( X^{\otimes i} \otimes Z \otimes X^{\otimes(k-i-1)} ) / 2)\]where \(\theta\) is
phasein radians and \(k\) is the number of logical qubits in the block.