QuTech-Delft / OpenQL

OpenQL: A Portable Quantum Programming Framework for Quantum Accelerators. https://dl.acm.org/doi/10.1145/3474222
https://openql.readthedocs.io
Other
99 stars 44 forks source link

Multi core #401

Closed jvansomeren closed 3 years ago

jvansomeren commented 3 years ago

Multi-core support for limiting bandwidth on communication channels between cores was added. There are 2 versions: using topological special communication qubits or using a new channels resource in the rcscheduler. Inter-core communication is supported by a new type of gate tagged "extern" (next to "mw", "flux", "readout", etc.). All this is supported by new configuration file entries, with defaults set so that you don't use this multi-core extension. Added tests.

jvanstraten commented 3 years ago

I see a lot of changes that seem specific to CC-light? Is this multi-core thing actually something intended for CC-light somehow, or is it just an artifact of things not having been properly cleaned up yet?

jvansomeren commented 3 years ago

Yes,the latter, to run the mapper, rcscheduler and use constraints a backend choice is still needed. Instead of creating a dedicated backend, polluting the code base, I chose to extensie our reference and example backend with it. Codegen is not done.

Groet,

Hans van Someren

Op 25 mrt. 2021 om 17:37 heeft jvanstraten @.***> het volgende geschreven:



I see a lot of changes that seem specific to CC-light? Is this multi-core thing actually something intended for CC-light somehow, or is it just an artifact of things not having been properly cleaned up yet?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_QE-2DLab_OpenQL_pull_401-23issuecomment-2D807062253&d=DwMCaQ&c=XYzUhXBD2cD-CornpT4QE19xOJBbRy-TBPLK0X9U2o8&r=kNdT9ewT6pQdYFkBLR_5-ZqsrSTk7k5Hdd7MSC_Vnzg&m=dD74-GaNOdL_4NacixyysLepdXNygj-hpFkVzRfVZQI&s=6djDDowcumBdLLhaqB3D87OwTez8v9HHe80yxEl9sXc&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AEDTBNQYAFDZJI3NW6UVRZ3TFNRCXANCNFSM4ZZRAFVQ&d=DwMCaQ&c=XYzUhXBD2cD-CornpT4QE19xOJBbRy-TBPLK0X9U2o8&r=kNdT9ewT6pQdYFkBLR_5-ZqsrSTk7k5Hdd7MSC_Vnzg&m=dD74-GaNOdL_4NacixyysLepdXNygj-hpFkVzRfVZQI&s=9zpi0ixS8zcKNgYH_0rr5vRE5Ehv7AB5KpVKTxxsHtM&e=.