Dependently-typed structures for quantum physics in Idris