MCPcopy Create free account
hub / github.com/OriginQ/QPanda-2 / efficient_sparse

Method efficient_sparse

QAlg/Encode/Encode.cpp:1776–1783  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1774}
1775
1776void Encode::efficient_sparse(const QVec &q, const std::vector<double>& data)
1777{
1778
1779 map<string, double>state = _build_state_dict(data);
1780
1781 efficient_sparse(q, state);
1782
1783}
1784
1785void Encode::efficient_sparse(const QVec &q, const std::map<string, double>&data)
1786{

Callers 1

Calls 9

XClass · 0.85
absFunction · 0.50
emptyMethod · 0.45
sizeMethod · 0.45
beginMethod · 0.45
push_backMethod · 0.45
daggerMethod · 0.45
realMethod · 0.45
imagMethod · 0.45

Tested by 1