autoqasm

User Guide

  • AutoQASM decorators
  • AutoQASM with Amazon Braket Hybrid Jobs

Examples

  • Getting Started with AutoQASM
  • Expressing Classical Control Flow
  • Iterative Phase Estimation
  • Magic State Distillation
  • Native Programming
  • Pulse Programming and Dynamical Decoupling
  • Customize Gate Calibrations

Architecture

  • AutoQASM Variable Capture and Assignment

API Reference

  • API Reference
    • autoqasm package
      • Subpackages
        • autoqasm.converters package
        • autoqasm.instructions package
        • autoqasm.operators package
        • autoqasm.program package
        • autoqasm.pulse package
        • autoqasm.simulator package
        • autoqasm.transpiler package
        • autoqasm.types package
      • Submodules
autoqasm
  • API Reference
  • autoqasm package
  • autoqasm.operators package
  • View page source

autoqasm.operators package

Python program-level transformations for objects, operations and logical controls that relate to AutoQASM types. Generally, operators are only used in the code template in AutoQASM converters. This module implements operators that AutoQASM overloads or adds on top of AutoGraph.

Submodules

  • autoqasm.operators.arithmetic module
    • floor_div()
  • autoqasm.operators.assignments module
    • assign_for_output()
    • assign_stmt()
  • autoqasm.operators.comparisons module
    • lt_()
    • lteq_()
    • gt_()
    • gteq_()
  • autoqasm.operators.conditional_expressions module
    • if_exp()
  • autoqasm.operators.control_flow module
    • for_stmt()
    • while_stmt()
    • if_stmt()
  • autoqasm.operators.data_structures module
    • ListPopOpts
    • ListStackOpts
    • list_append()
    • list_pop()
    • list_stack()
    • new_list()
  • autoqasm.operators.exceptions module
    • assert_stmt()
  • autoqasm.operators.logical module
    • and_()
    • or_()
    • not_()
    • eq()
    • not_eq()
  • autoqasm.operators.return_statements module
    • return_output_from_main()
  • autoqasm.operators.slices module
    • GetItemOpts
    • get_item()
    • set_item()
  • autoqasm.operators.typecast module
    • int_()
  • autoqasm.operators.utils module
Previous Next

© Copyright 2026, Amazon.com.

Built with Sphinx using a theme provided by Read the Docs.