Digitization of scalar fields for quantum computing | Synapse