.. index:: pair: struct; QPanda::QScheduler::PhysicsGate .. _doxid-struct_q_panda_1_1_q_scheduler_1_1_physics_gate: struct QPanda::QScheduler::PhysicsGate ====================================== .. toctree:: :hidden: Overview ~~~~~~~~ physical gate :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include struct PhysicsGate { // fields std::string :target:`type`; int :target:`gate_type`; bool :target:`is_dagger`; std::vector :target:`param`; bool :target:`is_apply_swap`; int :target:`i1`; int :ref:`j1`; int :target:`i2`; int :ref:`j2`; int :target:`barrier_id`; // methods bool :target:`isSwapGate`(); bool :target:`isControlGate`(); }; .. _details-struct_q_panda_1_1_q_scheduler_1_1_physics_gate: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ physical gate Fields ------ .. index:: pair: variable; j1 .. _doxid-struct_q_panda_1_1_q_scheduler_1_1_physics_gate_1a2f50314b34577f38b319ea4a68337473: .. ref-code-block:: cpp :class: doxyrest-title-code-block int j1 (i1, j1) is the position for the first qubit parament of the gate .. index:: pair: variable; j2 .. _doxid-struct_q_panda_1_1_q_scheduler_1_1_physics_gate_1a0274f7ceeeceba69f52d93e108d7e7b1: .. ref-code-block:: cpp :class: doxyrest-title-code-block int j2 (i2, j2) is the position for the first qubit parament of the two-qubit gate