Changelog#
Release Notes#
v0.9.0#
QUBO Matrix Import
CIM Simulator
SA (Simulated Annealing) Classical Algorithm
v0.9.1#
Enhanced Compatibility with Various IDEs
v1.0.0#
Added preprocess Module
Added Automatic Penalty Coefficient Determination
Added Parameter Precision Reduction Feature
Added HOBO Functionality
Added Ising-related Modules
Improved SDK Installation Process
Improved Error Messaging
v1.0.2#
Updated Platform Integration Content
Added Simulator FAQ
Added Precision-related Documentation
v1.0.3#
Added Selected Use Cases
Updated Documentation Theme
Improved Installation Instructions
Optimized Bit-Reduction Function
v1.1.0#
Added QuboModel Class for Easier QUBO Construction
Added PenaltyMethodSolver with Automatic Penalty Adjustment
Added SimpleSolver to Solve QuboModel Directly with Optimizer
Added Note on Additional Variable When Converting QUBO to Ising
Added Multiprocessing Option in SA Solver
Improved Installation and Usage Documentation
Added Tutorial for Deployment from Model to Real Machine
v1.1.1#
Added CIMOptimizer for Submitting Jobs to Hardware
Added PrecisionReducer for Precision Reduction
v1.1.2#
Improved CIMOptimizer
Improved PenaltyMethodSolver
Improved Logging System
Fixed Several Bugs
Added Documentation for Certain Modules
Significant Refactoring; Some Users May Need to Adjust Code Accordingly.
v1.2.0#
Added common.set_log_path
Added conversion.qubo_model_to_ising_model
Added core Module,include “OptimizerBase”, “KaiwuError”, “SolverBase”, “ising_matrix_to_qubo_matrix”, “qubo_matrix_to_ising_matrix”, “ConstraintRelation”, “Constraint”, “RelationConstraint”, “get_sol_dict”, “get_array_val”, “get_val”, “update_constraint”, “Expression”, “expr_add”, “expr_mul”, “expr_neg”, “expr_pow”
Extended ising Module: ‘IsingModel’, ‘IsingExpression’, ‘cim_ising_details’, ‘calculate_ising_matrix_bit_width’, ‘adjust_ising_matrix_precision’, ‘Spin’
Renamed Functions in preprocess Module: “restore_split_solution”, “construct_split_solution”
The Following Items in qubo Module Have Been Migrated to Other Modules:”get_sol_dict”, “get_val”, “get_array_val”, “make”, “cim_ising_model”, “qubo_model_to_ising_model”, “ising_matrix_to_qubo_matrix”, “qubo_matrix_to_ising_matrix”, “qubo_model_to_qubo_matrix”, “qubo_matrix_to_qubo_model”,
SolverBase from the Solver module has been moved to the core module.
Optimize the logging module and fix compatibility issues with other packages.
v1.3.0#
The addition of the HOBO Model class makes it easier for users to have a clearer purpose when using HOBO for modeling.
Refactor the license so that users can enter it once and it remains valid for the duration of the validity period.
Improved CIMOptimizer
New features and optimizations
Automatic License Management: No need to pass the SDK license code in the code; the license is automatically verified and rebuilt.
Matrix file upload improved: file transfer speed is faster.
Reconstruction details
Task unique identifier mechanism updated:
The task_name parameter has been removed, and a new task name prefix parameter, task_name_prefix, has been added to meet iteration requirements.
Task name generation rule: Automatically generated by task_name_prefix + MD5(ising_matrix);
Comparison of initialization parameter changes:
v1.2.0: CIMOptimizer(user_id, sdk_code); v1.3.0: CIMOptimizer(task_name_prefix);
Note: Tasks created using v1.2.0 need to be queried using v1.2.0.
Refactor Constraint; QUBOModel.add_constraint receives the logical expression.