@qml.qnode(dev)
def circuit():
    ops[operation].queue().inv()
    return qml.expval(qml.Identity(wires=0))
@qml.qnode(dev)
def circuit():
    ops[operation].queue().inv()
    return qml.expval(qml.Identity(wires=0))