Template Function Pennylane::Gates::getMatrix

Function Documentation

template<template<typename...> class ComplexT, typename T>
std::vector<ComplexT<T>> Pennylane::Gates::getMatrix(const GateOperation gate_op, const std::vector<T> &params, const bool inverse = false)