encyclopegia.org

Quantum Computation Language

Quantum Computation Language (QCL) is one of the first implemented quantum programming languages.[src] The most important feature of QCL is the support for user-defined operators and functions.[src] Its syntax resembles the syntax of the C programming language and its classical data types are similar to primitive data types in C.[src] One can combine classical code and quantum code in the same program.[src] The language was created before there were multi-qubit quantum computers and the only implementation of QCL uses an interpreter with a built-in classically simulated quantum computer.[src] QCL was created to explore programming concepts for quantum computers.[src] The QCL library provides standard quantum operators used in quantum algorithms such as: * Controlled-not with many target qubits, * Hadamard operation on many qubits, * Phase and controlled phase.[src] * Quantum algorithms for addition, multiplication and exponentiation with binary constants (all modulus n) * The quantum fourier transform[src]

Quantum Computation Language (QCL) is one of the first implemented quantum programming languages.[src] The most important feature of QCL is the support for user-defined operators and functions.[src] Its syntax resembles the syntax of the C programming language and its classical data types are similar to primitive data types in C.[src] One can combine classical code and quantum code in the same program.[src] The language was created before there were multi-qubit quantum computers and the only implementation of QCL uses an interpreter with a built-in classically simulated quantum computer.[src] QCL was created to explore programming concepts for quantum computers.[src] The QCL library provides standard quantum operators used in quantum algorithms such as: Controlled-not with many target qubits, Hadamard operation on many qubits, Phase and controlled phase.[src] Quantum algorithms for addition, multiplication and exponentiation with binary constants (all modulus n) The quantum fourier transform qureg x1[2]; // 2-qubit quantum register x1 qureg x2[2]; // 2-qubit quantum register x2 H(x1); // Hadamard operation on x1 H(x2[1]); // Hadamard operation on the first qubit of the register x2 Since the qcl interpreter uses qlib simulation library, it is possible to observe the internal state of the quantum machine during execution of the quantum program.[src] qcl> dump STATE: 4 / 32 qubits allocated, 28 / 32 qubits free 0.35355 |0> + 0.35355 |1> + 0.35355 |2> + 0.35355 |3> + 0.35355 |8> + 0.35355 |9> + 0.35355 |10> + 0.35355 |11> Note that the dump operation is different from measurement, since it does not influence the state of the quantum machine and can be realized only using a simulator.[src] Like in modern programming languages, it is possible to define new operations which can be used to manipulate quantum data.[src] For example: operator diffuse (qureg q) { H(q); // Hadamard Transform Not(q); // Invert q CPhase(pi, q); // Rotate if q=1111..[src] !Not(q); // undo inversion !H(q); // undo Hadamard Transform } defines inverse about the mean operator used in Grover's algorithm (it is sometimes called Grover's diffusion operator).[src] This allows one to define algorithms on a higher level of abstraction and extend the library of functions available for programmers.[src]

21 sentences · 21 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Quantum Computation Language." encyclopegia.org, 2026, https://encyclopegia.org/wiki/quantum-computation-language. Accessed 02 December 2026.

Chicago

"Quantum Computation Language." encyclopegia.org. Accessed December 2, 2026. https://encyclopegia.org/wiki/quantum-computation-language.

APA

encyclopegia.org. (2026). Quantum Computation Language. Retrieved December 2, 2026, from https://encyclopegia.org/wiki/quantum-computation-language

Accessed December 2, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

official language

stub · references available

pan-Slavic language

stub · references available

Hawaiʻi Sign Language

stub · references available

Taiwanese Sign Language

stub · references available

International Mother Language Day

stub · references available

polysynthetic language

stub · references available

Category:Films by country or language

stub · references available

Dutch Language Union

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1369613723 · 0.5 · snapshot enwiki-001369613723

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools
  • Careers — open roles: frontier engineers and sales partners
  • Index — every corpus, paper and record
  • Estate guide — what a public data estate is
  • Founder — Lois-Kleinner Alpasan
  • Records — DOIs and external deposits
  • Documents — one-pagers, PDFs and QR codes
  • Brand kit — logos and share images
  • Papers — plain-language briefs with citations
  • Browser — search engine, PWA and bookmarklet
  • Anticloud — the operator and its projects

As seen in Business Insider · 336 outlets · evidence DOIs · plain-language papers

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.