Loading...
Searching...
No Matches
construction.hpp
Go to the documentation of this file.
1#pragma once
2
3/**
4 * QuantumStateInterpolatorConstruction — what the evaluation-side factory
5 * produces: the interpolator, and the method's report of how its model was
6 * built.
7 *
8 * One report member per method, as InterpolationRecord carries one payload
9 * per method; a method that was not the record's leaves its member at its
10 * defaults. The report is returned rather than written through a pointer a
11 * caller may or may not pass, so there is no "no report" mode to branch on:
12 * a caller that wants the interpolator alone takes `interpolator` and drops
13 * the rest.
14 */
15
16#include <memory>
17
20
21namespace q3 {
22
24 std::unique_ptr<QuantumStateInterpolator> interpolator;
26};
27
28} // namespace q3
std::unique_ptr< QuantumStateInterpolator > interpolator