Template Function Pennylane::LightningQubit::NanoBindings::svKernelMap

Function Documentation

template<class StateVectorT>
auto Pennylane::LightningQubit::NanoBindings::svKernelMap(const StateVectorT &sv) -> nb::dict

Update state vector data from an array.

This function accepts any array-like object that follows the buffer protocol, including NumPy arrays and JAX arrays (for example).