Closed weiT1993 closed 2 years ago
Okay I've gone through and merged the changes I had originally made in compat
branch into this pull request. I also renamed moved device/main.py
-> device.py
, module/main.py
-> module.py
, compiler/main.py
-> compiler/modular_compiler.py
These changes currently break test.py
so I'm working through that right now
You can leave test.py
for now as I am making more changes on my branch. Let's merge and close this so I can update wei
branch to incorporate other changes?
we should really be deleting branches once they merge and then open new ones to make new changes. They don't need to always have the same name
Updating
Device
andModule
structures.The compiled
DAG
s are stored in eachModule
.device.global_edges
,device.local_edges
andmodule.edges
are all represented by physical qubits. Physical qubits are labelledmodule_i_j
for qubitj
in modulei
.