q5m.js - Quantum Computing Library - v0.1.1
    Preparing search index...

    Interface OpenQASMExportOptions

    Defines the options for exporting a circuit to OpenQASM format.

    interface OpenQASMExportOptions {
        includeComments?: boolean;
        version?: "2.0" | "3.0";
        includeMeasurements?: boolean;
    }
    Index

    Properties

    includeComments?: boolean

    If true, includes descriptive comments in the generated QASM code. Defaults to true.

    version?: "2.0" | "3.0"

    The version of the OpenQASM standard to use. Defaults to '2.0'.

    includeMeasurements?: boolean

    If true, includes measurement operations for all qubits at the end of the circuit. Defaults to false.