Materials Similar to Quantum Mechanics: Sum over paths