Skip to content

Luna 1.0

Luna 1.0.4

Released on August 18, 2025

๐Ÿ› ๏ธ Improvements

  • Add new Expression methods:
    • Retrieve items by order: linear_items, quadratic_items, higher_order_items.
    • Check order properties: is_constant, has_quadratic, has_higher_order.
  • Quickly clone a Model with all its configurations using deep_clone.
  • Add a variable safely using add_variable_with_fallback, which automatically appends a unique suffix if a name conflict occurs.
  • Filter a Solution with filter to return only the samples/results matching the given condition.
  • Add variables to a solution with add_var (single) or add_vars (multiple).
  • The obj_values and raw_energies properties of a Solution now return either a numpy array or None(previously, they always returned a NumPy array containing None values).

Luna 1.0.3

Released on August 4, 2025

๐Ÿ› Bug Fixes

  • Removed legacy QCtrl.IBMQ access schema: QCtrl.IBMCloud is now the sole supported IBM integration
  • minor bug fixes

Luna 1.0.2

Released on July 16, 2025

๐Ÿ› Bug Fixes

  • Minor bug fixes and performance improvements

Luna 1.0.1

Released on July 9, 2025

Luna Admin Dashboard is now live!

Luna Admin Dashboard is now live at app.aqarios.com, providing easier access to your Luna workflows. Learn more here


๐Ÿ†• Luna Admin Dashboard Now Live at app.aqarios.com

The Luna Admin Dashboard is now live, providing a single, simple interface to manage your Luna workflows, API access, tokens, and organization settings. Whether you're new to Luna or already familiar, this release makes setup and day-to-day management much smoother.


โœจ Whatโ€™s New

๐Ÿงญ Streamlined Sign-Up & Onboarding

Getting started with Luna is now easier than ever:

  • ๐Ÿ“ Sign up with a quick, guided web form
  • ๐Ÿ”‘ Instantly generate your Luna API Key during onboarding
  • ๐Ÿšง Go from account creation to building workflows in just a few minutes

๐Ÿข Organization Management
  • ๐Ÿ‘ฅ Manage users, groups, and group-level tokens yourself directly from the dashbaord
  • ๐Ÿ”’ Note: Free-tier users are currently limited to 1 user and 1 group

๐ŸŽซ QPU Token Management
  • ๐Ÿง‘โ€๐Ÿ’ป Manage personal tokens in the dashboard and directly use them in the SDK
  • ๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘ง Share tokens within groups for collaborative access

๐Ÿ“Š Quota Overview
  • โฑ๏ธ View your current job time quota per month

๐Ÿงช Coming Soon

We're actively working on expanding the dashboard to include:

  • ๐Ÿ“ˆ A dashboard overview of your jobs, models, and circuits
  • ๐Ÿงพ Jobs and solutions history with metadata and convenience tools
  • ๐ŸŽฏ Further insights into the results for your models

Stay tuned โ€” there's much more on the way! ๐Ÿš€


๐Ÿš€ New Features

  • ๐Ÿงฎ Enhanced SDK Features:

    • New convenience utilities for a Solution instance:

      • directly compute the expectation_value, feasibility_ratio or highest_constraint_violation,
      • filter a Solution for only it's feasible samples using solution.filter_feasible(),
      • the Solution.from_counts(...) method to create a new Solution from a dict that maps measured bitstrings to counts,
      • Improved string representations with enhanced customizability using the solution.print(...) method.
    • Add and get variables directly on a Model instance with the model.add_variable(...) and model.get_variable(...) methods.

    • Iterate over an Expression (a Model's objective or the left-hand side of a Constraint) using the .items() method for structured access to the expression's terms:
      from luna_quantum import Constant, Expression, HigherOrder, Linear, Quadratic
      
      ...
      
      expr: Expression = ...
      for term, bias in expr.items():
          match term:
              case Constant():
                  handle_constant(bias)
              case Linear(x):
                  handle_linear(x, bias)
              case Quadratic(x, y):
                  handle_quadratic(x, y, bias)
              case HigherOrder(ho):
                  handle_higher_order(ho, bias)
      

๐Ÿ› ๏ธ Improvements

  • ๐Ÿ“˜ Luna Docs Enhancements

    • Improved explanations (e.g., Dialectic Search)
    • Examples updated with real, working code
    • Minor visual and readability improvements
    • Dark Mode in Luna Docs for a more comfortable and accessible reading experience
  • ๐Ÿงฐ SDK Usability Updates

    • Cleaned up docstrings and links
    • Improved formatting for printing Solution objects with customization support
    • Clearer error messages with hybrid job diagnostics

๐Ÿ› Bug Fixes

  • Introduced DuplicateConstraintNameError that is raised when a duplicate constraint name is used
  • Fixed timezone compatibility issue
  • Enhanced error logging for failed jobs to provide better debugging insights
  • Fixed broken links in docstrings

Luna 1.0.0

Warning

๐Ÿšจ Breaking Changes Included โ€“ Released on June 4, 2025


โš ๏ธ Breaking Changes

  • SDK Restructuring
    Weโ€™ve restructured our SDK to streamline integration, reduce boilerplate, and significantly improve both the developer experience and configuration flexibility. Please note that this update is not backward compatible with previous versions of the SDK.

๐Ÿš€ New Features

  • ๐Ÿ“ฆ Unified Model Component for Format Independence
    Introducing the new Model component, designed for seamless format conversion without compromising efficiency. Easily import from and export to various model formats. Learn more in the Model Introduction.

  • ๐Ÿง  FlexQAOA โ€” A Dedicated Aqarios Algorithm
    Say hello to FlexQAOA, our constraint-native quantum algorithm built to solve real-world complexity at scale. Explore its capabilities in our FlexQAOA guide.

  • ๐Ÿ“˜ Revamped Documentation
    Alongside the SDK update, weโ€™ve launched a fully revamped documentation site. It provides comprehensive coverage of our services โ€” LunaSolve, LunaBench, and LunaQ โ€” as well as our core components: Algorithms, Backends, Model, and Solution. The documentation now includes even more comprehensive SDK and API references to easily find what you are looking for.


๐Ÿ› ๏ธ Improvements

  • ๐Ÿ”„ Real-Time Feedback During Tasks
    Youโ€™ll now see clear messages and spinners when the SDK is doing something time-consumingโ€”like uploading a model or contacting the server. This keeps you informed and removes the guesswork, so youโ€™re never left wondering if something is stuck.

  • ๐Ÿ“œ Improved Logging Experience
    The SDK now provides well-structured logs that are easier to read and follow. If you prefer a more visual experience, you can enable rich formatting with the rich library for color-coded messages, tables, and better debugging. This makes it simpler to understand whatโ€™s happening behind the scenes.

  • โšก Quick SDK Version Check
    A new utility lets you instantly print the SDK version youโ€™re using. This helps with troubleshooting, staying up to date, and sharing precise setup details with your team or supportโ€”no more digging into config files.

๐Ÿ› Bug Fixes

  • ๐Ÿ•’ Consistent, Readable Log Timestamps
    Weโ€™ve updated our logging format to use the internationally recognized ISO 8601 style: This improves readability and aligns with common developer expectations. Weโ€™ve also updated log level indicators (e.g. [INFO], [DEBUG]) to appear in brackets for a cleaner, more standard logging layout.

  • ๐Ÿšซ Missing API Key Warning
    When an API key is missing, the SDK now provides a clear, immediate error message in the consoleโ€”so youโ€™ll know exactly why things arenโ€™t working