Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement a special converter of Quadratic Program of Qiskit Optimization #24

Open
a-matsuo opened this issue Feb 1, 2021 · 4 comments
Assignees
Labels
from mentors This project is proposed by mentors type:optimization

Comments

@a-matsuo
Copy link
Collaborator

a-matsuo commented Feb 1, 2021

Description

We work on implementing special converters for specific constraints.
When users solve an optimization problem with Qiskit Aqua, they apply InequalityToEquality to convert inequality constraints into equality constraints by introducing slack variables, and then apply LinearEqualityToPenalty to translate the constraints into penalties of the objective function of QUBO. But, there are some special patterns are known that does not require slack variables.

The objective of this project is to implement such special converters and compare the performance with and without the special converters.

A Tutorial on Formulating and Using QUBO Models introduces examples of the special patterns in page 10 as follows.
image
image

Reference
A Walkthrough of Qiskit’s New Optimization Module
Max-Cut and Traveling Salesman Problem
Converters for Quadratic Programs
InequalityToEquality
LinearEqualityToPenalty
PyQUBO: Python Library for Mapping Combinatorial Optimization Problems to QUBO Form

Mentor/s

Atsushi Matsuo (@a-matsuo), Researcher at IBM Research Tokyo, Qiskit Optimization core developer

Type of participant

You should have basic knowledge of Qiskit and Python, and ideally (but not necessarily required) are familiar with mathematical optimization

Number of participants

2

Deliverable

A PR to the Qiskit Optimization, maybe also extending the existing tutorial.

@HuangJunye HuangJunye added from mentors This project is proposed by mentors type:optimization labels Feb 1, 2021
@hykavitha
Copy link

I'm interested in this topic to work.

@a-matsuo a-matsuo changed the title Add more types of constraints for the Qiskit Optimization Add more types of constraints for the Qiskit Optimization/Implement a special converter of Quadratic Program of Qiskit Aqua Optimization Mar 4, 2021
@HuangJunye
Copy link
Collaborator

@ibmamnt @knamba-jp Can you comment on this issue so that I can assign you? Please also work with your mentor to refine the project, define scope and deliverables and update the project description in this issue.

@knamba-jp
Copy link

@HuangJunye We've just started talking with our mentor and studying this issue.

@ibmamnt
Copy link

ibmamnt commented Mar 11, 2021

@HuangJunye I (ibmamnt) has also started to work on this project.

@a-matsuo a-matsuo changed the title Add more types of constraints for the Qiskit Optimization/Implement a special converter of Quadratic Program of Qiskit Aqua Optimization Implement a special converter of Quadratic Program of Qiskit Aqua Optimization Mar 11, 2021
@a-matsuo a-matsuo changed the title Implement a special converter of Quadratic Program of Qiskit Aqua Optimization Implement a special converter of Quadratic Program of Qiskit Optimization Jun 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
from mentors This project is proposed by mentors type:optimization
Projects
None yet
Development

No branches or pull requests

5 participants