Skip to content

Quantum circuit partitioner that uses a hybrid logical-physical

Notifications You must be signed in to change notification settings

mtweiden/hybrid_partitioning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Starting with the assumption that the circuit has been logically optimized.

Use QISKIT to get a layout for the circuit.

Using this layout, create a new `hybrid topology`
	Leave in physical links
	Add logical links for unperformable gates
		Logical links should be added so that they connect to the qubit group
		according to which insider qubit has the shortest graph distance

Run partitioning/synthesis on this new hybrid topology

Use QISKIT transpiler to get mapping for the circuit

Run partitioning/synthesis on the physically mapped circuit

# Dependencies:
pip install bqskit qiskit pytket scipy numpy networkx qsearch

# Before running:
mkdir layout_qasm relayout_qasm mapped_qasm synthesized_qasm resynthesized_qasm synthesis_files block_files subtopology_files

# Running QuToP
python qutop.py --blocksize <3|4|5> --topology <mesh|falcon|linear> --partitioner <quick|scan|greedy> [--partition_only] qasm/<qasm_file>

About

Quantum circuit partitioner that uses a hybrid logical-physical

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages