Skip to content

PyQASM 1.0.0

Latest

Choose a tag to compare

@TheGupta2012 TheGupta2012 released this 19 Sep 06:28
· 9 commits to main since this release
5b21c75

Release 1.0.0 (September 19, 2025)

Summary

Added

  • Major Update
    Added support for OPENPULSE code in pyqasm. (#246)
    Supported example program:
    OPENQASM 3.0;
    defcalgrammar "openpulse";
      
    complex[float[32]] amp = 1.0 + 2.0im;
    cal {
        port d0;
        frame driveframe = newframe(d0, 5.0e9, 0.0);
        waveform wf = gaussian(amp, 16ns, 4ns);
    }
      
    const float frequency_start = 4.5e9;
    const float frequency_step = 1e6;
    const int frequency_num_steps = 3;
    
    defcal saturation_pulse $0 {
        play(driveframe, constant(amp, 100e-6s));
    }
      
    cal {
        set_frequency(driveframe, frequency_start);
    }
      
    for int i in [1:frequency_num_steps] {
        cal {
            shift_frequency(driveframe, frequency_step);
        }
        saturation_pulse $0;
    }
  • Added a workflow to track changes in the docs/_static/logo.png file to prevent unnecessary modifications. (#257)
  • Added decomposition details for all gates in the docs/gate_decompositions.md file. (#237)

Improved / Modified

  • Modified if statement validation to now include empty blocks as well. See Issue #246 for details. (#251)

Deprecated

Removed

Fixed

  • Fixed Complex value initialization error. (#253)
  • Fixed duplicate qubit argument check in function calls and Error in function call with aliased qubit. (#260)
  • Fixed Gate ordering across registers in pyqasm.draw() function. (#268)

Dependencies

  • Bumps @actions/checkout from 4 to 5 (#250)
  • Bump @codecov/codecov-action from 5.4.3 to 5.5.0 (#254)
  • Bump @actions/upload-pages-artifact from 3 to 4 (#255)
  • Bump @actions/setup-python from 5 to 6 (#262)
  • Bump @codecov/codecov-action from 5.5.0 to 5.5.1 (#263)
  • Bump @actions/github-script from 7 to 8 (#264)

Full Changelog: v0.5.0...v1.0.0