local_pauli_eigs_prep¶
-
forest.benchmarking.utils.
local_pauli_eigs_prep
(op, qubit)¶ Generate all gate sequences to prepare all eigenstates of a (local) Pauli operator, assuming we are starting from the ground state.
Parameters: - op (str) – A string representation of the Pauli operator whose eigenstate we’d like to prepare.
- qubit (int) – The index of the qubit that the preparation is acting on
Rtype list: A list of programs