@qml.qnode(qubit_device_2_wires, interface='tf')
def circuit(x, y, z):
    qml.RX(x, wires=[0])
    qml.RZ(y, wires=[0])
    qml.CNOT(wires=[0, 1])
    qml.RY(y, wires=[0])
    qml.RX(z, wires=[0])
    return (qml.expval(qml.PauliY(0)), qml.expval(qml.PauliZ(1)))
@qml.qnode(qubit_device_2_wires, interface='tf')
def circuit(x, y, z):
    qml.RX(x, wires=[0])
    qml.RZ(y, wires=[0])
    qml.CNOT(wires=[0, 1])
    qml.RY(y, wires=[0])
    qml.RX(z, wires=[0])
    return (qml.expval(qml.PauliY(0)), qml.expval(qml.PauliZ(1)))