I have a matrix that I would like to decompose into a Pauli String. Pennylane's qml.utils.decompose_hamiltonian does this and returns a list of coefficients and a list of operations representing the decomposition.
Is there any simple way to convert the format of the returned operations, i.e.
from Identity(wires=[0]) @ PauliZ(wires=[1])
(Pennylane syntax) to
cirq.PauliString(cirq.I(qubits[0]), cirq.Z(qubits[1]))
?