PyQBPP Document

This documentation for PyQBPP (Python binding of QUBO++) is currently under development. Some pages may contain incomplete or provisional information.

Getting Started

  1. HUBO and QUBO
  2. Quick Start
  3. Installation

Basics

This section provides a step-by-step introduction to PyQBPP. By reading the pages in order, you will learn how to define variables and expressions, model optimization problems, and solve them using PyQBPP. After completing this tutorial, you should be able to use PyQBPP for most typical applications.

  1. Defining Variables and Creating Expressions
  2. Solving Expressions
  3. Array of Variables and Array Functions
  4. Solving Partitioning Problem Using Array of Variables
  5. Permutation Matrix and Solving Assignment Problem
  6. Integer Variables and Solving Simultaneous Equations
  7. Factorization Through HUBO Expression
  8. Range Constraints and Solving Integer Linear Programming

Topics

This section provides topic-wise explanations of selected features of PyQBPP. Each page focuses on a specific topic and offers deeper insights into design decisions, usage patterns, and, where appropriate, internal implementations.

  1. Data Types of Variables and Expressions
  2. Basic Operators and Functions
  3. Basic Operators and Functions for Arrays
  4. Multi-dimensional Variables and Expressions
  5. Comparison Operators
  6. Expression Classes
  7. Evaluating Expressions
  8. Replace Functions
  9. Negated Literals
  10. Sum Functions for Multi-dimensional Arrays
  11. Slice and Concat
  12. One-Hot to Integer Conversion
  13. Easy Solver Usage
  14. Exhaustive Solver Usage
  15. ABS3 Solver Usage
  16. Search Parameters

Case Studies

This section provides examples of solving optimization, mathematical, and graph problems using PyQBPP. See the Case Studies page for the full list.

Quick References

  1. Variables and Expressions
  2. Operators and Functions
  3. Solutions

PyQBPP ドキュメント

PyQBPP(QUBO++のPythonバインディング)のドキュメントは現在作成中です。 一部のページには不完全または暫定的な情報が含まれている場合があります。

はじめに

  1. HUBO と QUBO
  2. クイックスタート
  3. インストール

基礎

このセクションでは、PyQBPPの段階的な入門を提供します。 ページを順番に読むことで、変数と式の定義方法、最適化問題のモデル化、 PyQBPPを使った求解方法を学ぶことができます。 このチュートリアルを完了すれば、一般的な用途でPyQBPPを使えるようになります。

  1. 変数の定義と式の作成
  2. 式の求解
  3. 変数の配列と配列関数
  4. 変数配列を用いた分割問題の求解
  5. 順列行列と割当問題の求解
  6. 整数変数と連立方程式の求解
  7. HUBO式による因数分解
  8. 範囲制約と整数線形計画法の求解

トピック

このセクションでは、PyQBPPの特定の機能についてトピックごとに解説します。 各ページは特定のトピックに焦点を当て、設計上の判断、使用パターン、 および必要に応じて内部実装について、より深い知見を提供します。

  1. 変数と式のデータ型
  2. 基本演算子と関数
  3. 配列用の基本演算子と関数
  4. 多次元変数と式
  5. 比較演算子
  6. 式のクラス
  7. 式の評価
  8. 置換関数
  9. 否定リテラル
  10. 多次元配列の和関数
  11. スライスと連結
  12. ワンホットから整数への変換
  13. Easy Solverの使い方
  14. Exhaustive Solverの使い方
  15. ABS3 Solverの使い方
  16. 探索パラメータ

ケーススタディ

このセクションでは、PyQBPPを使った最適化問題、数学問題、グラフ問題の解法例を提供します。 全リストはケーススタディページを参照してください。

クイックリファレンス

  1. 変数と式
  2. 演算子と関数