sfc-aqua / quisp

Open source implementation of quantum internet simulation package
BSD 3-Clause "New" or "Revised" License
86 stars 36 forks source link

Implementing the Stage-based RuleSet #513

Open Naphann opened 1 year ago

Naphann commented 1 year ago

In the architecture paper (by rdv et al), we mentioned the Stage-based Ruleset. This used to be problematic with the old implementation but now with the runtime implemented, it can be done easily.

Suggested change: Change the way resource allocation to the Rule work to a Stage. A Stage is a vector/list of Rules in which the resource allocated is shared among this set. Priority or precedence is defined in the order in which the Rule is defined first. And change the next_rule_id to next_stage_id.

The groundwork is already there, we just need to change how resource allocation and promotion of resources work. And how the RuleSet creation from vector<Rules> to vector<Stages> where Stage = vector<Rules>.