MCPcopy Create free account
hub / github.com/QuEST-Kit/QuEST / toString

Function toString

tests/unit/operations.cpp:629–636  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

627// and/or re-use printer_ functions as much as possible
628
629std::string toString(vector<int> list) {
630
631 std::string out = "{ ";
632 for (int& e : list)
633 out += std::to_string(e) + " ";
634 out += "}";
635 return out;
636}
637
638std::string toString(PauliStr str, vector<int> targs) {
639

Callers 1

CAPTURE_RELEVANTFunction · 0.85

Calls 1

paulis_getPauliAtFunction · 0.85

Tested by

no test coverage detected