@qml.qnode(qubit_device_2_wires, interface='tf')
def circuit2(x, array):
    return ansatz(x, array[0], array[1])
@qml.qnode(qubit_device_2_wires, interface='tf')
def circuit2(x, array):
    return ansatz(x, array[0], array[1])