Quantum algorithm for partial differential equations of non-conservative systems with spatially varying parameters | Synapse