How we can perform measurements on an X, Y or Z basis in cirq? Is there any function where we can give the list of qubits and measurement basis as an argument and get the output?
3$\begingroup$ I'd recommend reading through quantumai.google/cirq/build/pauli_observables - can you find what you need there? $\endgroup$– Balint PatoOct 16, 2022 at 14:25
Based on this, you can execute measurement on any Pauli basis. Hope this helps!