class QPanda::QGateNodeFactory

Overview

Factory for class QGate. More…

#include <QGate.h>

class QGateNodeFactory
{
public:
    // methods

    static QGateNodeFactory* getInstance();

    template <typename ... Targs>
    QGate getGateNode(
        const std::string& name,
        QVec qs,
        Targs&&... args
        );
};

Detailed Documentation

Factory for class QGate.

Methods

static QGateNodeFactory* getInstance()

Get the static instance of factory.

Returns:

QGateNodeFactory *