sfc-aqua / quisp

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

Make purification_type string and change numerical values #554

Closed lmpawan10 closed 4 months ago

lmpawan10 commented 6 months ago

The following changes have been made:

Inside HardwareMonitor.h

Inside HardwareMonitor.cc

Here, R1/R2 is for specifying the number of rounds. i.e, R1: Round 1, R2: Round 2

"CR1_Double_X-CR2_Double_ZX--R1_Single_X-R2_Single_Z" states that, Double_X and Double_ZX purification run in Round1 and Round2 respectively only once. Then, Single_X and Single_Z purification run during Round1 and Round2 respectively and repeat for more rounds if needed.


This change is Reviewable

lmpawan10 commented 5 months ago

@Naphann

what does 2 in 2002: 2N_ALTERNATE_SINGLE_X_WITH_SINGLE_Z mean?

For 5555,

In the first round, I will change DOUBLE_SELECTION_ZX_PURIFICATION to DOUBLE_SELECTION_Z_PURIFICATION.