.. index:: pair: class; QPanda::QGateNodeFactory .. _doxid-class_q_panda_1_1_q_gate_node_factory: class QPanda::QGateNodeFactory ============================== .. toctree:: :hidden: Overview ~~~~~~~~ Factory for class :ref:`QGate `. :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include class QGateNodeFactory { public: // methods static QGateNodeFactory* :ref:`getInstance`(); template :ref:`QGate` :target:`getGateNode`( const std::string& name, :ref:`QVec` qs, Targs&&... args ); }; .. _details-class_q_panda_1_1_q_gate_node_factory: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Factory for class :ref:`QGate `. Methods ------- .. index:: pair: function; getInstance .. _doxid-class_q_panda_1_1_q_gate_node_factory_1ae46d7ac6c641011f2aefec5de2897598: .. ref-code-block:: cpp :class: doxyrest-title-code-block static QGateNodeFactory* getInstance() Get the static instance of factory. .. rubric:: Returns: :ref:`QGateNodeFactory ` \*