.. index:: pair: class; QPanda::QuantumMetadata .. _doxid-class_q_panda_1_1_quantum_metadata: class QPanda::QuantumMetadata ============================= .. toctree:: :hidden: Parse xml config and get metadata. .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include class QuantumMetadata { public: // construction :target:`QuantumMetadata`(const std::string& filename = :ref:`CONFIG_PATH`); // methods QuantumMetadata& :target:`operator =` (const QuantumMetadata&); bool :target:`getMetadata`( int& qubit_num, std::vector>& matrix ); bool :target:`getQGate`( std::vector& single_gates, std::vector& double_gates ); bool :target:`getGateTime`(std::map<:ref:`GateType`, size_t>& gate_time_map); };