An iterator over the variable assignments of a solution's sample.
Examples:
>>> from luna_quantum import Solution
>>> solution: Solution = ...
>>> sample = solution.samples[0]
Note: sample
is automatically converted into a SampleIterator
.
>>> for var in sample:
... var
0
-5
0.28