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

Function applyFullQuantumFourierTransform

quest/src/api/operations.cpp:1760–1769  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1758}
1759
1760void applyFullQuantumFourierTransform(Qureg qureg) {
1761 validate_quregFields(qureg, __func__);
1762
1763 // tiny; no need to validate alloc
1764 vector<int> targets(qureg.numQubits);
1765 for (size_t i=0; i<targets.size(); i++)
1766 targets[i] = i;
1767
1768 applyQuantumFourierTransform(qureg, targets.data(), targets.size());
1769}
1770
1771} // end de-mangler
1772

Callers 1

SECTIONFunction · 0.85

Calls 2

validate_quregFieldsFunction · 0.85

Tested by

no test coverage detected