Template Function Pennylane::NanoBindings::Utils::opsDataToString

Function Documentation

template<typename OpsDataT>
std::string Pennylane::NanoBindings::Utils::opsDataToString(const OpsDataT &ops, bool include_controlled = true)

Generate string representation of operations data.

Template Parameters

OpsDataT – Type of operations data

Parameters
  • ops – Operations data object

  • include_controlled – Whether to include controlled wires and values

Returns

std::string String representation