quara.simulation.effective_lindbladian_generation_setting module
- class EffectiveLindbladianGenerationSetting(c_sys, qoperation_base, lindbladian_base, ids=None, is_seed_or_generator_required=False, is_physicality_required=True)[source]
Bases:
quara.simulation.generation_setting.QOperationGenerationSettingConstructor
- Parameters
c_sys (CompositeSystem) – CompositeSystem.
qoperation_base (Union[QOperation, str]) – QOperation base of the random effective Lindbladian.
lindbladian_base (Union[EffectiveLindbladian, str]) – effective Lindbladian base of the random effective Lindbladian.
ids (List[int], Optional) – This is a list of elmental system’s ids, by default None. To be given for specific asymmetric multi-partite gates For example, in the case of gate_name = ‘cx’, id[0] is for the id of the control qubit and id[1] is for the id of the target qubit.
is_seed_or_generator_required (bool, Optional) – Whether the generate function requires seed or stream(numpy.random.Generator), by default None.
is_physicality_required (bool) –
- Raises
TypeError – If the type of argument lindbladian_base is not EffectiveLindbladian or str.
- Return type
None
- property lindbladian_base: quara.objects.effective_lindbladian.EffectiveLindbladian
returns effective Lindbladian base of the random effective Lindbladian.
- Returns
effective Lindbladian base of the random effective Lindbladian.
- Return type