Glossary › Compiler / Compiler Optimization

Compiler / Compiler Optimization

A compiler is a piece of software that transforms higher-level programs or instructions into lower-level instructions that can be understood and executed by a computer.

Classical compiler:

  • Takes programs written in a high-level language (e.g., C, Rust)
  • Translates them into assembly code or machine code, which a classical computer can directly execute.
  • Quantum compiler:

  • Takes quantum circuits written in a human-friendly form (e.g., QASM)
  • Translates them into a sequence of radio-frequency pulses or control signals
  • These signals are executed on a quantum computer to manipulate qubits according to the designed algorithm.
  • Compilers are essential because they bridge the gap between human-readable instructions and machine-executable operations, enabling both classical and quantum systems to run complex programs efficiently.

    Compiler optimization is a process of improving the result of the compilation to reduce the overall resources (e.g. time, qubits, gates) used by the compiled program. For a quantum compiler, this is an essential step to ensure that minimal resources are used to execute compiled quantum programs.

    Ready to Harness Quantum Power?

    Organizations worldwide rely on Infleqtion

    Talk to Our Team