55d2576c203ace380e09bf045a327841415ce36f,qiskit/aqua/components/uncertainty_models/multivariate_variational_distribution.py,MultivariateVariationalDistribution,build,#MultivariateVariationalDistribution#Any#Any#Any#Any#,95

Before Change


    def build(self, qc, q, q_ancillas=None, params=None):
        if self._initial_distribution is not None:
            qc.extend(self._initial_distribution.construct_circuit("circuit", q))
        qc.extend(self._var_form.construct_circuit(self.params, q))

    def set_probabilities(self, backend=BasicAer.get_backend("statevector_simulator")):
        
        Set Probabilities

After Change


    def build(self, qc, q, q_ancillas=None, params=None):
        if self._initial_distribution:
            qc.extend(self._initial_distribution.construct_circuit(mode="circuit", register=q))
        circuit_var_form = self._var_form.construct_circuit(self.params, q)
        qc.extend(circuit_var_form)

    def set_probabilities(self, quantum_instance):
        
        Set Probabilities
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 5

Instances


Project Name: Qiskit/qiskit-aqua
Commit Name: 55d2576c203ace380e09bf045a327841415ce36f
Time: 2019-05-01
Author: ouf@zurich.ibm.com
File Name: qiskit/aqua/components/uncertainty_models/multivariate_variational_distribution.py
Class Name: MultivariateVariationalDistribution
Method Name: build


Project Name: Qiskit/qiskit-aqua
Commit Name: 20c1bcdad47bfc6c0bdbdc510ee76598d64c380c
Time: 2019-04-29
Author: stefan@swoerner.de
File Name: qiskit/aqua/components/uncertainty_models/univariate_distribution.py
Class Name: UnivariateDistribution
Method Name: build


Project Name: Qiskit/qiskit-aqua
Commit Name: 55d2576c203ace380e09bf045a327841415ce36f
Time: 2019-05-01
Author: ouf@zurich.ibm.com
File Name: qiskit/aqua/components/uncertainty_models/univariate_variational_distribution.py
Class Name: UnivariateVariationalDistribution
Method Name: build


Project Name: Qiskit/qiskit-aqua
Commit Name: 20c1bcdad47bfc6c0bdbdc510ee76598d64c380c
Time: 2019-04-29
Author: stefan@swoerner.de
File Name: qiskit/aqua/components/uncertainty_models/multivariate_distribution.py
Class Name: MultivariateDistribution
Method Name: build