PyQBPP Document
This documentation for PyQBPP (Python binding of QUBO++) is currently under development. Some pages may contain incomplete or provisional information.
Installation
PyQBPP can be installed via pip:
pip install pyqbpp
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.
- Defining Variables and Creating Expressions
- Solving Expressions
- Vector of Variables and Vector Functions
- Solving Partitioning Problem Using Vector of Variables
- Permutation Matrix and Solving Assignment Problem
- Integer Variables and Solving Simultaneous Equations
- Factorization Through HUBO Expression
- 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.
- Data Types of Variables and Expressions
- Basic Operators and Functions
- Basic Operators and Functions for Vectors
- Multi-dimensional Variables and Expressions
- Comparison Operators
- Expression Classes
- Evaluating Expressions
- Replace Functions
- Sum Functions for Multi-dimensional Arrays
- Easy Solver Usage
- Exhaustive Solver Usage
- ABS3 Solver Usage
NOTE The Gurobi Solver is not available in the Python binding. For Gurobi usage, please refer to the QUBO++ (C++) documentation.