Skip to content
Anastasiia Butko edited this page Apr 26, 2019 · 2 revisions

TIGER: Task assIGnment mappER

Quick Start

This section provides baby steps on how to use tiger with the simplest example TCG and 2x2 ARC.

Option description:

  • i (info) - provides info about qubits/couplings/levels/…
  • q (qubo) – generates single qubo input file
  • qs (qubo solution) – analyzes all generated solutions and provides the most optimal
  • dq (divided qubo) – generates multiple qubo files
  • dqs (divided qubo solution) – analyzes all solutions, selects the most optimal per sub-graph and combines them into the final solution
  • ddq (dynamically divided qubo) – generates multiple qubo files tacking into account previous solutions
  • ddqs (dynamically divided qubo solution) – similar to dqs
  • qb (qbsolv) – generates qubo input for qbsolv tool
  • qbs (qbsolv solution) – provide qbsolv output solution

Example

To check the basic information of the mapping resource requirements:

python tiger.py tcg/example1.ram arc/mesh_2x2_homo.arc i

To generate a single .qubo file:

python tiger.py tcg/example1.ram arc/mesh_2x2_homo.arc qb

To execute generated file using qbsolv and generate the solution file:

qbsolv -i tcg/example1.qubo > example1.sol

To analyze the solution and calculate mapping-to-metric:

python tiger.py tcg/example1.ram arc/mesh_2x2_homo.arc qbs

Clone this wiki locally