@brief Run `cudaq::get_state` on the provided kernel and spin operator.
| 171 | |
| 172 | /// @brief Run `cudaq::get_state` on the provided kernel and spin operator. |
| 173 | static state get_state_impl(const std::string &shortName, MlirModule mod, |
| 174 | cudaq::CompiledModule *compiled, |
| 175 | nanobind::args args) { |
| 176 | auto closure = [=]() { |
| 177 | return marshal_and_launch_module(shortName, mod, args, compiled); |
| 178 | }; |
| 179 | return detail::extractState(std::move(closure)); |
| 180 | } |
| 181 | |
| 182 | static std::future<state> get_state_async_impl(const std::string &shortName, |
| 183 | MlirModule module, |
no test coverage detected