Is there a neat way to derive and efficiently implement a measurement circuit for tensor products of arbitrary Pauli operators like $XZZXZ$ in Qiskit ?
I tried using the
pauli_measurement function, where I used a
PauliOperator object initialized from a corresponding label, but this function seems to perform single-qubit post-rotations for each part of the label and I am not sure if this is what I actually want to measure. I assume, that a generalization of what is described here https://github.com/MicrosoftDocs/quantum-docs/blob/main/articles/concepts-pauli-measurements.md would fit this measurement scenario.