pauli_readout_native

FixedCROTGateSet.pauli_readout_native(pauli_readout, output_layout=None)

Return the native readout a requested Pauli string is realized through by default.

The choice is by support: the native readout sharing the most qubits with the requested string wins, and a smaller support breaks a tie. A synthesis compile tries every native readout and keeps the cheapest; it tries this one first, and this one wins a tie. The Qiskit path and a gate set with one native readout use this one.

Parameters:
  • pauli_readout (Sequence[str] | str) – Pauli labels of the requested string, in Qiskit’s order: the last letter is logical qubit 0.

  • output_layout (Sequence[int] | None) – Output qubit assignment the transformation is written in, or None for logical qubit indices.

Return type:

List[str]

Returns:

One Pauli label per qubit of the gate set, in Qiskit’s order.

Raises:

QuasarError – If the gate set has no readout at all.