Neural-network-encoded variational quantum algorithms | Synapse