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

    Interface QiskitExportOptions

    Defines the options for exporting a circuit to Qiskit Python code.

    interface QiskitExportOptions {
        includeComments?: boolean;
        includeImports?: boolean;
        circuitVariableName?: string;
        includeMeasurements?: boolean;
        includeBackend?: boolean;
    }
    Index

    Properties

    includeComments?: boolean

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

    includeImports?: boolean

    If true, includes necessary from qiskit import ... statements. Defaults to true.

    circuitVariableName?: string

    The variable name for the Qiskit QuantumCircuit object. Defaults to 'circuit'.

    includeMeasurements?: boolean

    If true, adds measurement operations for all qubits to the circuit. Defaults to false.

    includeBackend?: boolean

    If true, includes boilerplate code to execute the circuit on a simulator. Defaults to false.