"QKD code commands" 修訂間的差異

出自 DDCC TCAD TOOL Manual
前往: 導覽搜尋
 
(未顯示同一使用者於中間所作的 39 次修訂)
行 1: 行 1:
 
The meaning of parameters in input.inp file.
 
The meaning of parameters in input.inp file.
== parameters assigned command ==
+
= parameters assigned command =
   
='''@RANDOM_SEED'''=<br>
+
'''@RANDOM_SEED'''<br>
 
[[@NEED_SEED]] <br>
 
[[@NEED_SEED]] <br>
 
[[@SEED]] <br>
 
[[@SEED]] <br>
行 11: 行 11:
 
'''@ENGINE'''<br>
 
'''@ENGINE'''<br>
 
[[@PROTOCOL]] <br>
 
[[@PROTOCOL]] <br>
  +
[[@TRACK_NUM]] <br>
 
[[@NODE_TYPE]] <br>
 
[[@NODE_TYPE]] <br>
 
[[@PULSES_PER_BURST]] <br>
 
[[@PULSES_PER_BURST]] <br>
行 29: 行 30:
 
[[@EPOCH_STORAGE_SIZE]] <br>
 
[[@EPOCH_STORAGE_SIZE]] <br>
 
[[@BATCH_SIZE]] <br>
 
[[@BATCH_SIZE]] <br>
  +
[[@INTENSITY_TYPE_NUM]] <br>
  +
[[@DECOY_STATE_SW]] <br>
  +
[[@IM_CONST_MODE]] <br>
   
 
'''@DEVICEMAP'''<br>
 
'''@DEVICEMAP'''<br>
行 44: 行 48:
   
 
'''@CTRL_FUNC'''<br>
 
'''@CTRL_FUNC'''<br>
  +
Being used while [[@INFO]] LASER method is 2 (decoy method). Sending photon with different MPN.<br>
 
[[@DECOY_PARAMS]] <br>
 
[[@DECOY_PARAMS]] <br>
 
[[@PM_CONST_MODE_SW]] <br>
 
[[@PM_CONST_MODE_SW]] <br>
 
[[@PM_CONST_MODE]] <br>
 
[[@PM_CONST_MODE]] <br>
  +
[[@IM_CONST_MODE_SW]] <br>
  +
[[@IM_SIGNAL_DECOY_RATIO]] <br>
   
 
'''@NODE'''<br>
 
'''@NODE'''<br>
行 63: 行 70:
 
'''@LASER'''<br>
 
'''@LASER'''<br>
 
[[@LASER_NUM]] <br>
 
[[@LASER_NUM]] <br>
[[@DEV_ID]] <br>
+
[[@DEV_ID (LASER)]] <br>
[[@DELAY_TIME]] <br>
+
[[@DELAY_TIME (LASER)]] <br>
 
[[@PERIOD]] <br>
 
[[@PERIOD]] <br>
 
[[@WAVELENGTH]] <br>
 
[[@WAVELENGTH]] <br>
[[@INSERTION_LOSS]] <br>
+
[[@INSERTION_LOSS (LASER)]] <br>
 
[[@MODE]] <br>
 
[[@MODE]] <br>
 
[[@CONST_PHOTON_NUM]] <br>
 
[[@CONST_PHOTON_NUM]] <br>
行 73: 行 80:
 
[[@ETERNITY]] <br>
 
[[@ETERNITY]] <br>
 
[[@EMIT_PULSE_TIME_SW]] <br>
 
[[@EMIT_PULSE_TIME_SW]] <br>
[[@PHOTON_SHAPE]] <br>
+
[[@PHOTON_SHAPE (LASER)]] <br>
[[@SHAPE_WIDTH]] <br>
+
[[@SHAPE_WIDTH (LASER)]] <br>
[[@PULSE_WIDTH]] <br>
+
[[@PULSE_WIDTH (LASER)]] <br>
[[@MEAN]] <br>
+
[[@MEAN (LASER)]] <br>
[[@HEIGHT]] <br>
+
[[@HEIGHT (LASER)]] <br>
[[@IS_NORMALIZE]] <br>
+
[[@IS_NORMALIZE (LASER)]] <br>
[[@IS_ABS]] <br>
+
[[@IS_ABS (LASER)]] <br>
[[@IS_OFFSET]] <br>
+
[[@IS_OFFSET (LASER)]] <br>
[[@RISE_TIME]] <br>
+
[[@RISE_TIME (LASER)]] <br>
[[@FALL_TIME]] <br>
+
[[@FALL_TIME (LASER)]] <br>
[[@SIG]] <br>
+
[[@SIG (LASER)]] <br>
[[@HEIGHT_PROP]] <br>
+
[[@HEIGHT_PROP (LASER)]] <br>
[[@FFT_SW]] <br>
+
[[@FFT_SW (LASER)]] <br>
[[@FFT_FILE]] <br>
+
[[@FFT_FILE (LASER)]] <br>
  +
  +
'''@ENTANGLELASER'''<br>
  +
[[Not currently in use.]] <br>
  +
[[@EntangleLASER_NUM]] <br>
  +
[[@DEV_ID (EntangleLASER)]] <br>
  +
[[@DELAY_TIME (EntangleLASER)]] <br>
  +
[[@PERIOD (EntangleLASER)]] <br>
  +
[[@WAVELENGTH (EntangleLASER)]] <br>
  +
[[@INSERTION_LOSS (EntangleLASER)]] <br>
  +
[[@MODE (EntangleLASER)]] <br>
  +
[[@CONST_PHOTON_NUM (EntangleLASER)]] <br>
  +
[[@MPN (EntangleLASER)]] <br>
  +
[[@ETERNITY (EntangleLASER)]] <br>
  +
[[@EMIT_PULSE_TIME_SW (EntangleLASER)]] <br>
  +
[[@PHOTON_SHAPE (EntangleLASER)]] <br>
  +
[[@SHAPE_WIDTH (EntangleLASER)]] <br>
  +
[[@PULSE_WIDTH (EntangleLASER)]] <br>
  +
[[@MEAN (EntangleLASER)]] <br>
  +
[[@HEIGHT (EntangleLASER)]] <br>
  +
[[@IS_NORMALIZE (EntangleLASER)]] <br>
  +
[[@IS_ABS (EntangleLASER)]] <br>
  +
[[@IS_OFFSET (EntangleLASER)]] <br>
  +
[[@RISE_TIME (EntangleLASER)]] <br>
  +
[[@FALL_TIME (EntangleLASER)]] <br>
  +
[[@SIG (EntangleLASER)]] <br>
  +
[[@HEIGHT_PROP (EntangleLASER)]] <br>
  +
[[@FFT_SW (EntangleLASER)]] <br>
  +
[[@FFT_FILE (EntangleLASER)]] <br>
   
 
'''@FIBER'''<br>
 
'''@FIBER'''<br>
 
[[@FIBER_NUM]] <br>
 
[[@FIBER_NUM]] <br>
[[@DEV_ID]] <br>
+
[[@DEV_ID (FIBER)]] <br>
[[@DELAY_TIME]] <br>
+
[[@DELAY_TIME (FIBER)]] <br>
 
[[@TOT_LOSS]] <br>
 
[[@TOT_LOSS]] <br>
 
[[@LOSS]] <br>
 
[[@LOSS]] <br>
 
[[@LENGTH]] <br>
 
[[@LENGTH]] <br>
[[@INSERTION_LOSS]] <br>
+
[[@INSERTION_LOSS (FIBER)]] <br>
  +
  +
'''@CP'''<br>
  +
[[@CP_NUM]] <br>
  +
[[@DEV_ID (CP)]] <br>
  +
[[@DELAY_TIME (CP)]] <br>
  +
[[@TRANSMITTANCE (CP)]] <br>
  +
[[@INSERTION_LOSS (CP)]] <br>
   
 
'''@BS'''<br>
 
'''@BS'''<br>
 
[[@BS_NUM]] <br>
 
[[@BS_NUM]] <br>
[[@DEV_ID]] <br>
+
[[@DEV_ID (BS)]] <br>
[[@DELAY_TIME]] <br>
+
[[@DELAY_TIME (BS)]] <br>
[[@TRANSMITTANCE]] <br>
+
[[@TRANSMITTANCE (BS)]] <br>
[[@INSERTION_LOSS]] <br>
+
[[@INSERTION_LOSS (BS)]] <br>
  +
  +
'''@BSHOM'''<br>
  +
[[@BSHOM_NUM]] <br>
  +
[[@DEV_ID (BSHOM)]] <br>
  +
[[@DELAY_TIME (BSHOM)]] <br>
  +
[[@TRANSMITTANCE (BSHOM)]] <br>
  +
[[@INSERTION_LOSS (BSHOM)]] <br>
  +
[[@VISIBILITY (BSHOM)]] <br>
  +
[[@LOSS_RATIO (BSHOM)]] <br>
  +
[[@BSHOM_FILTER (BSHOM)]] <br>
   
 
'''@PM'''<br>
 
'''@PM'''<br>
 
[[@PM_NUM]] <br>
 
[[@PM_NUM]] <br>
[[@DEV_ID]] <br>
+
[[@DEV_ID (PM)]] <br>
[[@DELAY_TIME]] <br>
+
[[@DELAY_TIME (PM)]] <br>
 
[[@FIRST_PHASE]] <br>
 
[[@FIRST_PHASE]] <br>
[[@INSERTION_LOSS]] <br>
+
[[@INSERTION_LOSS (PM)]] <br>
[[@PHOTON_SHAPE]] <br>
+
[[@PHOTON_SHAPE (PM)]] <br>
[[@SHAPE_WIDTH]] <br>
+
[[@SHAPE_WIDTH (PM)]] <br>
[[@PULSE_WIDTH]] <br>
+
[[@PULSE_WIDTH (PM)]] <br>
[[@MEAN]] <br>
+
[[@MEAN (PM)]] <br>
[[@HEIGHT]] <br>
+
[[@HEIGHT (PM)]] <br>
[[@IS_NORMALIZE]] <br>
+
[[@IS_NORMALIZE (PM)]] <br>
[[@IS_ABS]] <br>
+
[[@IS_ABS (PM)]] <br>
[[@IS_OFFSET]] <br>
+
[[@IS_OFFSET (PM)]] <br>
[[@RISE_TIME]] <br>
+
[[@RISE_TIME (PM)]] <br>
[[@FALL_TIME]] <br>
+
[[@FALL_TIME (PM)]] <br>
[[@SIG]] <br>
+
[[@SIG (PM)]] <br>
[[@HEIGHT_PROP]] <br>
+
[[@HEIGHT_PROP (PM)]] <br>
[[@FFT_SW]] <br>
+
[[@FFT_SW (PM)]] <br>
[[@FFT_FILE]] <br>
+
[[@FFT_FILE (PM)]] <br>
  +
  +
'''@IM'''<br>
  +
[[@IM_NUM]] <br>
  +
[[@DEV_ID (IM)]] <br>
  +
[[@DELAY_TIME (IM)]] <br>
  +
[[@MPN_IM]] <br>
  +
[[@INSERTION_LOSS (IM)]] <br>
  +
[[@PHOTON_SHAPE (IM)]] <br>
  +
[[@SHAPE_WIDTH (IM)]] <br>
  +
[[@PULSE_WIDTH (IM)]] <br>
  +
[[@MEAN (IM)]] <br>
  +
[[@HEIGHT (IM)]] <br>
  +
[[@IS_NORMALIZE (IM)]] <br>
  +
[[@IS_ABS (IM)]] <br>
  +
[[@IS_OFFSET (IM)]] <br>
  +
[[@RISE_TIME (IM)]] <br>
  +
[[@FALL_TIME (IM)]] <br>
  +
[[@SIG (IM)]] <br>
  +
[[@HEIGHT_PROP (IM)]] <br>
  +
[[@FFT_SW (IM)]] <br>
  +
[[@FFT_FILE (IM)]] <br>
  +
  +
'''@testDevice'''<br>
  +
[[@testDevice_NUM]] <br>
  +
[[@testDevice_ID]] <br>
  +
[[@testDevice_TIME]] <br>
  +
[[@A]] <br>
   
 
'''@MZI'''<br>
 
'''@MZI'''<br>
 
[[@MZI_NUM]] <br>
 
[[@MZI_NUM]] <br>
[[@DEV_ID]] <br>
+
[[@DEV_ID (MZI)]] <br>
 
[[@DELAY_TIME1]] <br>
 
[[@DELAY_TIME1]] <br>
 
[[@DELAY_TIME2]] <br>
 
[[@DELAY_TIME2]] <br>
[[@DELAY_PERIOD_SW]] <br>
+
[[@DELAY_PERIOD_SW*]] <br>
[[@DELAY_PERIOD_NUM]] <br>
+
[[@DELAY_PERIOD_NUM*]] <br>
 
[[@Ts]] <br>
 
[[@Ts]] <br>
 
[[@Tp]] <br>
 
[[@Tp]] <br>
行 138: 行 145:
 
[[@PHASE_SHIFT]] <br>
 
[[@PHASE_SHIFT]] <br>
 
[[@VISIBILITY]] <br>
 
[[@VISIBILITY]] <br>
[[@INSERTION_LOSS]] <br>
+
[[@INSERTION_LOSS (MZI)]] <br>
 
[[@LOSS_RATIO]] <br>
 
[[@LOSS_RATIO]] <br>
  +
[[@LONGARM_LOSS]] <br>
  +
[[@SHORTARM_LOSS]] <br>
  +
[[@CHECK_OVERLAP]] <br>
   
 
'''@SPD'''<br>
 
'''@SPD'''<br>
 
[[@SPD_NUM]] <br>
 
[[@SPD_NUM]] <br>
[[@DEV_ID]] <br>
+
[[@DEV_ID (SPD)]] <br>
[[@DELAY_TIME]] <br>
+
[[@DELAY_TIME (SPD)]] <br>
 
[[@DARK_COUNT_RATE]] <br>
 
[[@DARK_COUNT_RATE]] <br>
 
[[@TIME_WINDOW_WIDTH]] <br>
 
[[@TIME_WINDOW_WIDTH]] <br>
行 150: 行 160:
 
[[@IS_PARALYZABLE]] <br>
 
[[@IS_PARALYZABLE]] <br>
 
[[@DEAD_TIME]] <br>
 
[[@DEAD_TIME]] <br>
[[@EVENT_REDUCTION_RATE]] <br>
+
[[@EVENT_REDUCTION_RATE*]] <br>
 
[[@AFTERPULSING_PROB]] <br>
 
[[@AFTERPULSING_PROB]] <br>
[[@INSERTION_LOSS]] <br>
+
[[@INSERTION_LOSS (SPD)]] <br>
 
[[@DETECTION_SW]] <br>
 
[[@DETECTION_SW]] <br>
  +
  +
'''@EveIR'''<br>
  +
[[@EveIR_NUM]] <br>
  +
[[@EVE_DEV_NUM]] <br>
  +
[[@DEV_ID (EveIR)]] <br>
  +
[[@INSERTION_RATIO (EveIR)]] <br>
  +
[[@INSERTION_LOSS (EveIR)]] <br>
  +
[[@DET_EFFICIENCY]] <br>
  +
[[@EVE_MPN]] <br>
  +
[[@EVE_DEV_TYPE]] <br>
  +
[[@PHOTON_SHAPE (EveIR)]] <br>
  +
[[@SHAPE_WIDTH (EveIR)]] <br>
  +
[[@PULSE_WIDTH (EveIR)]] <br>
  +
[[@MEAN (EveIR)]] <br>
  +
[[@HEIGHT (EveIR)]] <br>
  +
[[@IS_NORMALIZE (EveIR)]] <br>
  +
[[@IS_ABS (EveIR)]] <br>
  +
[[@IS_OFFSET (EveIR)]] <br>
  +
[[@RISE_TIME (EveIR)]] <br>
  +
[[@FALL_TIME (EveIR)]] <br>
  +
[[@SIG (EveIR)]] <br>
  +
[[@HEIGHT_PROP (EveIR)]] <br>
  +
[[@FFT_SW (EveIR)]] <br>
  +
[[@FFT_FILE (EveIR)]] <br>
  +
  +
'''@PRIVACY_AMPLIFICATION'''<br>
  +
[[@PA_CHECK]] <br>
  +
[[@PA_REDUCE_RATIO]] <br>
  +
[[@AUTO_PALENGTH]] <br>
  +
[[@ECKEY_LEN_BLOCK]] <br>
  +
[[@SECURE_PARAMETER]] <br>

於 2024年11月21日 (四) 18:46 的最新修訂

The meaning of parameters in input.inp file.

parameters assigned command

@RANDOM_SEED
@NEED_SEED
@SEED

@PATH
@SEND_FILE_PATH

@ENGINE
@PROTOCOL
@TRACK_NUM
@NODE_TYPE
@PULSES_PER_BURST
@PULSE_PERIOD
@BURST_PERIOD
@OPERATING_TIME
@FIRE_TIME
@TIME_UNIT
@SHAPE_RESOLUTION
@LAST_DEV_TYPE_2_BOB
@LAST_DEV_ID_2_BOB
@EVENT_TRACK_SIZE
@REG_TIME_UNIT
@SEC_UNIT
@MAX_ROUTE_NUM
@MAX_ROUTINE_NUM
@PT_SIZE
@EPOCH_STORAGE_SIZE
@BATCH_SIZE
@INTENSITY_TYPE_NUM
@DECOY_STATE_SW
@IM_CONST_MODE

@DEVICEMAP
@PORTPAIR_NUM
@REFLECTION_SW
@PATH_TRACK_NUM
@PORTPAIR

@CTRLER
@CTRLER_NUM

@CTRL_INFO
@CTRL_INFO_NUM
@INFO

@CTRL_FUNC
Being used while @INFO LASER method is 2 (decoy method). Sending photon with different MPN.
@DECOY_PARAMS
@PM_CONST_MODE_SW
@PM_CONST_MODE
@IM_CONST_MODE_SW
@IM_SIGNAL_DECOY_RATIO

@NODE
@WAVELENGTH_DETAIL
@ORIENTATION_DETAIL
@ELLIPTICITY_DETAIL
@BORN_TIME_DETAIL
@PHASE_DETAIL
@INTENSITY_DETAIL
@INTENSITY_SI_DETAIL
@INTENSITY_SI_SEQ_DETAIL
@PHASE_SI_DETAIL
@PHASE_SI_SEQ_DETAIL
@FFT_DETAIL

@LASER
@LASER_NUM
@DEV_ID (LASER)
@DELAY_TIME (LASER)
@PERIOD
@WAVELENGTH
@INSERTION_LOSS (LASER)
@MODE
@CONST_PHOTON_NUM
@MPN
@ETERNITY
@EMIT_PULSE_TIME_SW
@PHOTON_SHAPE (LASER)
@SHAPE_WIDTH (LASER)
@PULSE_WIDTH (LASER)
@MEAN (LASER)
@HEIGHT (LASER)
@IS_NORMALIZE (LASER)
@IS_ABS (LASER)
@IS_OFFSET (LASER)
@RISE_TIME (LASER)
@FALL_TIME (LASER)
@SIG (LASER)
@HEIGHT_PROP (LASER)
@FFT_SW (LASER)
@FFT_FILE (LASER)

@ENTANGLELASER
Not currently in use.
@EntangleLASER_NUM
@DEV_ID (EntangleLASER)
@DELAY_TIME (EntangleLASER)
@PERIOD (EntangleLASER)
@WAVELENGTH (EntangleLASER)
@INSERTION_LOSS (EntangleLASER)
@MODE (EntangleLASER)
@CONST_PHOTON_NUM (EntangleLASER)
@MPN (EntangleLASER)
@ETERNITY (EntangleLASER)
@EMIT_PULSE_TIME_SW (EntangleLASER)
@PHOTON_SHAPE (EntangleLASER)
@SHAPE_WIDTH (EntangleLASER)
@PULSE_WIDTH (EntangleLASER)
@MEAN (EntangleLASER)
@HEIGHT (EntangleLASER)
@IS_NORMALIZE (EntangleLASER)
@IS_ABS (EntangleLASER)
@IS_OFFSET (EntangleLASER)
@RISE_TIME (EntangleLASER)
@FALL_TIME (EntangleLASER)
@SIG (EntangleLASER)
@HEIGHT_PROP (EntangleLASER)
@FFT_SW (EntangleLASER)
@FFT_FILE (EntangleLASER)

@FIBER
@FIBER_NUM
@DEV_ID (FIBER)
@DELAY_TIME (FIBER)
@TOT_LOSS
@LOSS
@LENGTH
@INSERTION_LOSS (FIBER)

@CP
@CP_NUM
@DEV_ID (CP)
@DELAY_TIME (CP)
@TRANSMITTANCE (CP)
@INSERTION_LOSS (CP)

@BS
@BS_NUM
@DEV_ID (BS)
@DELAY_TIME (BS)
@TRANSMITTANCE (BS)
@INSERTION_LOSS (BS)

@BSHOM
@BSHOM_NUM
@DEV_ID (BSHOM)
@DELAY_TIME (BSHOM)
@TRANSMITTANCE (BSHOM)
@INSERTION_LOSS (BSHOM)
@VISIBILITY (BSHOM)
@LOSS_RATIO (BSHOM)
@BSHOM_FILTER (BSHOM)

@PM
@PM_NUM
@DEV_ID (PM)
@DELAY_TIME (PM)
@FIRST_PHASE
@INSERTION_LOSS (PM)
@PHOTON_SHAPE (PM)
@SHAPE_WIDTH (PM)
@PULSE_WIDTH (PM)
@MEAN (PM)
@HEIGHT (PM)
@IS_NORMALIZE (PM)
@IS_ABS (PM)
@IS_OFFSET (PM)
@RISE_TIME (PM)
@FALL_TIME (PM)
@SIG (PM)
@HEIGHT_PROP (PM)
@FFT_SW (PM)
@FFT_FILE (PM)

@IM
@IM_NUM
@DEV_ID (IM)
@DELAY_TIME (IM)
@MPN_IM
@INSERTION_LOSS (IM)
@PHOTON_SHAPE (IM)
@SHAPE_WIDTH (IM)
@PULSE_WIDTH (IM)
@MEAN (IM)
@HEIGHT (IM)
@IS_NORMALIZE (IM)
@IS_ABS (IM)
@IS_OFFSET (IM)
@RISE_TIME (IM)
@FALL_TIME (IM)
@SIG (IM)
@HEIGHT_PROP (IM)
@FFT_SW (IM)
@FFT_FILE (IM)

@testDevice
@testDevice_NUM
@testDevice_ID
@testDevice_TIME
@A

@MZI
@MZI_NUM
@DEV_ID (MZI)
@DELAY_TIME1
@DELAY_TIME2
@DELAY_PERIOD_SW*
@DELAY_PERIOD_NUM*
@Ts
@Tp
@Rs
@Rp
@PHASE_SHIFT
@VISIBILITY
@INSERTION_LOSS (MZI)
@LOSS_RATIO
@LONGARM_LOSS
@SHORTARM_LOSS
@CHECK_OVERLAP

@SPD
@SPD_NUM
@DEV_ID (SPD)
@DELAY_TIME (SPD)
@DARK_COUNT_RATE
@TIME_WINDOW_WIDTH
@EFFICIENCY
@IS_PARALYZABLE
@DEAD_TIME
@EVENT_REDUCTION_RATE*
@AFTERPULSING_PROB
@INSERTION_LOSS (SPD)
@DETECTION_SW

@EveIR
@EveIR_NUM
@EVE_DEV_NUM
@DEV_ID (EveIR)
@INSERTION_RATIO (EveIR)
@INSERTION_LOSS (EveIR)
@DET_EFFICIENCY
@EVE_MPN
@EVE_DEV_TYPE
@PHOTON_SHAPE (EveIR)
@SHAPE_WIDTH (EveIR)
@PULSE_WIDTH (EveIR)
@MEAN (EveIR)
@HEIGHT (EveIR)
@IS_NORMALIZE (EveIR)
@IS_ABS (EveIR)
@IS_OFFSET (EveIR)
@RISE_TIME (EveIR)
@FALL_TIME (EveIR)
@SIG (EveIR)
@HEIGHT_PROP (EveIR)
@FFT_SW (EveIR)
@FFT_FILE (EveIR)

@PRIVACY_AMPLIFICATION
@PA_CHECK
@PA_REDUCE_RATIO
@AUTO_PALENGTH
@ECKEY_LEN_BLOCK
@SECURE_PARAMETER