qiskit-camp-asia-19 icon indicating copy to clipboard operation
qiskit-camp-asia-19 copied to clipboard

Implement the 0/1 knapsack problem using a VQE

Open sorin-bolos opened this issue 5 years ago • 4 comments

Abstract

Implement the "0/1 knapsack problem" using VQE/QAOA. The challenge is to find the Hamiltonian that encodes the problem to use in the VQE algorithm.

Description

The 0/1 knapsack problem: Given a set of items, each with a weight and a value, determine the number of each item to include in a collection so that the total weight is less than or equal to a given limit and the total value is as large as possible. We need to define the problem mathematically and find a Hamiltonian for which the ground state is the solution to this problem. Aqua already contains implementations of optimization problems like Max Cut and Traveling Salesman Problem. We can add this implementation too.

Members

@dongsin-kim @sorin-bolos @R07222062 @ylchen0918

  • Qiskit Coach: @a-matsuo

Deliverable

A jupyter notebook containing the implementation of the cost function expressed as a list of Pauli terms

GitHub repo

https://github.com/sorin-bolos/QiskitCampAsia2019

sorin-bolos avatar Nov 18 '19 15:11 sorin-bolos

I'm interested in the issue-! :-)

dongsin-kim avatar Nov 19 '19 01:11 dongsin-kim

I'd like to participate in this project.

R07222062 avatar Nov 19 '19 01:11 R07222062

Interesting

ylchen0918 avatar Nov 19 '19 01:11 ylchen0918

Presentation https://github.com/sorin-bolos/QiskitCampAsia2019/blob/master/knapsack_%2339_FINAL.pdf

sorin-bolos avatar Nov 20 '19 07:11 sorin-bolos