Function Pennylane::LightningTensor::TNCuda::Util::MPSShapeCheck¶
Defined in File tncuda_helpers.hpp
Function Documentation¶
-
inline void Pennylane::LightningTensor::TNCuda::Util::MPSShapeCheck(const std::vector<std::vector<std::size_t>> &MPS_shape_dest, const std::vector<std::vector<std::size_t>> &MPS_shape_source)¶
Check if the provided MPS has the correct dimension for C++ backend.
- Parameters
MPS_shape_dest – Dimension list of destination MPS.
MPS_shape_source – Dimension list of incoming MPS.
api/function_tncuda__helpers_8hpp_1ac475eb4edbbad592549e153f3d052a67
Download Python script
Download Notebook
View on GitHub