Consider the expectation method of QuantumInference. The counts argument is used as the weight of the pure state expectation values. However, it is also used to set the number of samples used to estimate these individual expectation values. I want to consider pushing the unique bitstring logic down into the quantum circuit class, rather than having the caller need to worry about unique bitstrings. In particular, the new VQT logic does not let the counts of input bitstrings propagate into QuantumInference calls.
Consider the
expectation
method ofQuantumInference
. Thecounts
argument is used as the weight of the pure state expectation values. However, it is also used to set the number of samples used to estimate these individual expectation values. I want to consider pushing the unique bitstring logic down into the quantum circuit class, rather than having the caller need to worry about unique bitstrings. In particular, the new VQT logic does not let the counts of input bitstrings propagate into QuantumInference calls.