Linear Dependent Type Theory for Quantum Programming Languages (Logical Methods in Computer Science, 2022)