paulie.application.pauli_compiler.construct_universal_set#

paulie.application.pauli_compiler.construct_universal_set(n_total, k)#

Construct the universal generator set used by the compiler.

The set consists of left-local generators extended with identities and right-local generators tagged with a fixed left Pauli string.

Parameters:
  • n_total – Total number of qubits.

  • k – Number of qubits in the left partition.

Returns:

List of 2 * n_total + 1 Pauli strings forming the universal set.

Raises:

ValueError – If k is out of range.