<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.3 20210610//EN" "https://jats.nlm.nih.gov/publishing/1.3/JATS-journalpublishing1-3.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ali="http://www.niso.org/schemas/ali/1.0/" article-type="research-article" dtd-version="1.3" xml:lang="en"><front><journal-meta><journal-id journal-id-type="publisher-id">TJTHS</journal-id><journal-title-group><journal-title>TEJAS Journal of Technologies and Humanitarian Science</journal-title><abbrev-journal-title abbrev-type="publisher">TEJAS J. Technol. Humanit. Sci.</abbrev-journal-title></journal-title-group><issn publication-format="electronic">2583-5599</issn><publisher><publisher-name>ShreeSanavi Academy Private Limited</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.63920/tjths.52015</article-id><article-id pub-id-type="publisher-id">0502/015</article-id><title-group><article-title>QCLang: A Quantum Programming Language with Affine Type Enforcement</article-title></title-group><contrib-group><contrib contrib-type="author"><name><surname>Singh</surname><given-names>Abhay</given-names></name><xref ref-type="aff" rid="aff1"/></contrib><contrib contrib-type="author"><name><surname>Saksena</surname><given-names>Aayushmaan</given-names></name><xref ref-type="aff" rid="aff1"/></contrib><contrib contrib-type="author"><name><surname>Mohan</surname><given-names>Pratham</given-names></name><xref ref-type="aff" rid="aff1"/></contrib><contrib contrib-type="author"><name><surname>Rizvi</surname><given-names>Homa</given-names></name><xref ref-type="aff" rid="aff2"/></contrib><aff id="aff1">Scholar (B. Tech) Department of Computer Science &amp; Engineering, Shri Ramswaroop Memorial University, Deva Road, Lucknow</aff><aff id="aff2">Assistant Professor, Scholar (B. Tech) Department of Computer Science &amp; Engineering, Shri Ramswaroop Memorial University, Deva Road, Lucknow</aff></contrib-group><pub-date publication-format="electronic" date-type="pub"><day>07</day><month>04</month><year>2026</year></pub-date><volume>5</volume><issue>2</issue><elocation-id>0502/015</elocation-id><permissions><copyright-statement>&#169; 2026 The Author(s)</copyright-statement><copyright-year>2026</copyright-year><copyright-holder>The Author(s)</copyright-holder><license license-type="open-access" xlink:href="https://creativecommons.org/licenses/by/4.0/"><ali:license_ref>https://creativecommons.org/licenses/by/4.0/</ali:license_ref><license-p>This article is distributed under the terms of the Creative Commons Attribution 4.0 International License (CC BY 4.0).</license-p></license></permissions><self-uri xlink:href="https://www.tejasjournals.com/page/0502/015.html"/><self-uri content-type="pdf" xlink:href="https://www.tejasjournals.com/Papers/2026/02/TJTHS-0502-015.pdf"/><abstract><p>Quantum computing is rapidly transitioning from theoretical research to practical hardware. Yet the software tools used to program quantum computers remain dangerously low-level, offering little to no protection against violations of fundamental physical laws such as the No-Cloning Theorem. This paper presents QCLang, a high-level imperative quantum programming language that enforces quantum mechanical constraints directly at compile time through an affine type system. By treating qubits as affine resources—values that may be used at most once—QCLang statically prevents illegal operations such as qubit cloning and use-after-move, ensuring that any program that successfully compiles is physically valid. We describe the theoretical foundations of affine logic, the language specification, the compiler architecture, and the translation pipeline from QCLang source code to OpenQASM. We evaluate the language against existing quantum programming frameworks and demonstrate its expressiveness through canonical quantum algorithm implementations including Quantum Teleportation and the Deutsch-Jozsa algorithm. QCLang represents a meaningful step toward safer, more developer-friendly quantum software tooling.</p></abstract><kwd-group kwd-group-type="author"><kwd>Quantum Programming Language</kwd><kwd>Affine Type System</kwd><kwd>No-Cloning Theorem</kwd><kwd>Compiler Design</kwd><kwd>OpenQASM</kwd><kwd>Substructural Types</kwd><kwd>Qubit Resource Management</kwd></kwd-group></article-meta></front><back><ref-list><title>References</title><ref id="ref1"><mixed-citation publication-type="other">W. K. Wootters and W. H. Zurek, “A single quantum cannot be cloned,” Nature, vol. 299, pp. 802–803, 1982.</mixed-citation></ref><ref id="ref2"><mixed-citation publication-type="other">D. Dieks, “Communication by EPR devices,” Physics Letters A, vol. 92, no. 6, pp. 271–272, 1982.</mixed-citation></ref><ref id="ref3"><mixed-citation publication-type="other">J.-Y. Girard, “Linear logic,” Theoretical Computer Science, vol. 50, no. 1, pp. 1–101, 1987.</mixed-citation></ref><ref id="ref4"><mixed-citation publication-type="other">A. W. Cross, L. S. Bishop, J. A. Smolin, and J. M. Gambetta, “Open quantum assembly language,” arXiv:1707.03429, 2017.</mixed-citation></ref><ref id="ref5"><mixed-citation publication-type="other">K. Svore et al., “Q#: Enabling scalable quantum computing and development with a high-level DSL,” in Proc. RWDSL, ACM, 2018.</mixed-citation></ref><ref id="ref6"><mixed-citation publication-type="other">B. Bichsel, M. Baader, T. Gehr, and M. Vechev, “Silq: A high-level quantum language with safe uncomputation and intuitive semantics,” in Proc. 41st ACM SIGPLAN PLDI, pp. 286–300, 2020.</mixed-citation></ref><ref id="ref7"><mixed-citation publication-type="other">K. Qinami and C. Abbott, “QCLang: A quantum computing language,” Undergraduate Research Report, Columbia University, 2018.</mixed-citation></ref><ref id="ref8"><mixed-citation publication-type="other">J. Preskill, “Quantum computing in the NISQ era and beyond,” Quantum, vol. 2, p. 79, 2018.</mixed-citation></ref><ref id="ref9"><mixed-citation publication-type="other">B. C. Pierce, Types and Programming Languages. Cambridge, MA: MIT Press, 2002.</mixed-citation></ref><ref id="ref10"><mixed-citation publication-type="other">D. Walker, “Substructural type systems,” in Advanced Topics in Types and Programming Languages, MIT Press, 2005, pp. 3–43.</mixed-citation></ref><ref id="ref11"><mixed-citation publication-type="other">M. A. Nielsen and I. L. Chuang, Quantum Computation and Quantum Information, 10th ed. Cambridge: Cambridge University Press, 2010.</mixed-citation></ref><ref id="ref12"><mixed-citation publication-type="other">D. Deutsch and R. Jozsa, “Rapid solution of problems by quantum computation,” Proc. Royal Society A, vol. 439, pp. 553–558, 1992.</mixed-citation></ref><ref id="ref13"><mixed-citation publication-type="other">N. D. Matsakis and F. S. Klock, “The Rust programming language,” ACM SIGADA Ada Letters, vol. 34, no. 3, pp. 103–104, 2014.</mixed-citation></ref><ref id="ref14"><mixed-citation publication-type="other">IBM Quantum, “Qiskit: An open-source framework for quantum computing,” 2023. [Online]. Available: Qiskit Website</mixed-citation></ref><ref id="ref15"><mixed-citation publication-type="other">N. Akhtar et al., “AI-driven intelligent resume recommendation engine,” IJSRSET, vol. 12, no. 3, pp. 1141–1155, June 2025. DOI</mixed-citation></ref><ref id="ref16"><mixed-citation publication-type="other">K. R. Poranki, Y. Perwej, and N. Akhtar, “Integration of SCM and ERP for competitive advantage,” Research Journal of Science &amp; IT Management, vol. 4, no. 5, pp. 17–24, 2015.</mixed-citation></ref><ref id="ref17"><mixed-citation publication-type="other">Y. Perwej, “An evaluation of deep learning miniature concerning in soft computing,” IJARCCE, vol. 4, no. 2, pp. 10–16, Feb. 2015. DOI</mixed-citation></ref><ref id="ref18"><mixed-citation publication-type="other">Y. Perwej and F. Parwej, “A neuroplasticity approach to use in artificial neural network,” IJSER, vol. 3, no. 6, pp. 1–9, 2012. DOI</mixed-citation></ref><ref id="ref19"><mixed-citation publication-type="other">Y. Perwej, “Bidirectional LSTM neural network based word retrieval for Arabic documents,” TMLAI, vol. 3, no. 1, pp. 16–27, 2015. DOI</mixed-citation></ref><ref id="ref20"><mixed-citation publication-type="other">Y. Perwej, “Unsupervised feature learning for text pattern analysis with emotional data collection,” in Proc. IEEE ICACTA, 2022. DOI</mixed-citation></ref></ref-list></back></article>