Open-source software

Catalyst: the compiler for the entire quantum-classical workflow

Catalyst applies just-in-time (JIT) compilation to entire PennyLane programs, including classical processing and optimization loops, producing a machine binary at runtime.

Hybrid compilation

The ease of Python, the speed of C++.

Compile the entire quantum-classical workflow, including any optimization loops.

Use Catalyst alongside PennyLane directly from Python. Simply decorate quantum code and hybrid functions with @qjit.

Access advanced control flow that supports both quantum and classical instructions.

Built to be end-to-end differentiable.

Performance

Compilation that scales

Time taken to apply the cancel_inverses and merge_rotations passes: without Catalyst, time grows with circuit gate depth; with Catalyst, compilation time stays constant.

Deeper circuits, same compilation time

Using Catalyst makes compilation time stay constant with circuit depth. Measured on an AMD Developer Cloud instance using Lightning-AMDGPU.

Read more

Go deeper on Catalyst

Get started

Compile your first hybrid program

Install Catalyst alongside PennyLane, then add @qjit to compile your quantum-classical workflow.

FAQ

Frequently asked questions

Catalyst is PennyLane's quantum just-in-time (QJIT) compiler. It compiles hybrid quantum-classical PennyLane programs, including classical processing and optimization loops, into a machine binary.