Skip to content

Released on 2026-02-22.

Upgrade Instructions

Enhancements

  • The function poly_inversion now supports error_type ("relative" default or "uniform") to choose between minimizing relative error |xp(x)-1| or absolute uniform error |p(x)-1/x| over x in [1/kappa,1]. The same error_type option is also available in poly_inversion_degree and poly_inversion_error.
  • Add the foreach statement to Qmod. Foreach iterates efficiently through the elements of a classical array.
  • Support QBits in addition to QNums in lookup_table.

API Changes

  1. Renamed sample to cmain_sample in legacy cscope. This does not affect any usage of ExecutionSession.