QuEraComputing / UnitDiskMapping.jl

Reduce several arbitrary-connectivity optimization problems into maximum independent set problems on a grid
https://github.com/QuEraComputing/UnitDiskMapping.jl
Other
16 stars 3 forks source link

use cell type instead of integers #11

Closed GiggleLiu closed 2 years ago

GiggleLiu commented 2 years ago

This is a PR preparing for weighted cells.

GiggleLiu commented 2 years ago

@minhthin1028 This is an implementation of the weighted mapping. I will merge it directly because tests all pass. You can still review/comment in this PR, I will address these issues in a new PR.

In the future, you will be more familiar with Julia design patterns, then I will wait for your review instead of merging my own PR.