cirq.ops.measure_paulistring_terms

Returns a list of operations individually measuring qubits in the pauli basis.

pauli_basis The cirq.PauliString basis in which each qubit should be measured.
key_func Determines the key of the measurements of each qubit. Takes the qubit and returns the key for that qubit. Defaults to str.

A list of operations individually measuring the given qubits in the specified pauli basis.

ValueError if pauli_basis is not an instance of cirq.PauliString.