This page is from an old version of Qiskit SDK and does not exist in the latest version.We recommend you migrate to thelatest version. See therelease notesfor more information. expectation_value(counts, diagonal=None, qubits=None, clbits=None, meas_mitigator=None) ...
We provide a package that integrates the partitioning into qiskit, and use this to benchmark the algorithm with dense Hamiltonians, such as those that arise in matrix quantum mechanics models, on IBM hardware. We demonstrate computational speedups close to the theoretical limit of (3/2)m ...
0-py3.7.egg/qiskit/aqua/algorithms/minimum_eigen_solvers/vqe.py in quantum_instance(self, quantum_instance) 184 self._circuit_sampler.quantum_instance = self._quantum_instance 185 --> 186 if self._expectation is None: 187 self._try_set_expectation_value_from_factory() 188 AttributeError: '...