qiskit-community / quantum-hackathon-korea-21

4 stars 3 forks source link

Qiskit technical challenge 1 - Exploring Knapsack problem with VQE, QAOA using Qiskit #2

Open 0sophy1 opened 3 years ago

0sophy1 commented 3 years ago

Abstract

The knapsack problem is a problem in combinatorial optimization: Given a set of items, find a subset of items such that the total weight is within the capacity and the total value is maximized. image

Description

Qiskit has the Application Classes for Knapsack problem, but let’s solve it by VQE and QAOA with Qiskit Terra. You can learn how it works and improve the solution by changing your original variational forms (ansatz) and exploring the new qiskit functions.

Basic Task

Advanced Task

Reference:https://qiskit.org/documentation/optimization/tutorials/09_application_classes.html

Members

Deliverable

GitHub repo

kifumi commented 3 years ago

Here is a good reference: https://arxiv.org/pdf/1302.5843.pdf. There is the Hamiltonian on page 14-15.