Classical and quantum bounded depth approximation algorithms | Synapse