Skip to content

Model Editor

The Model Editor is an IDE component that allows writing models in the Classiq modeling language.

This editor is under active development. New language features and editor features are added in every release, so stay tuned!

Access it here: Model page.

This code snippet shows how a Bell state is created using the modeling language.

qfunc H(target: qbit);
qfunc CX(control: qbit, target: qbit);
qfunc allocate<num_qubits: int>(output out : qbit[num_qubits]);

qfunc main(output a: qbit, output b: qbit) {
    CX(a, b);

To synthesize the quantum program or download and look at the resulting JSON model, click the buttons:


To learn your way around the language and the editor: