26949ac70fc9cff80e633b0476c306d7809c8263,qiskit/aqua/components/uncertainty_models/multivariate_variational_distribution.py,MultivariateVariationalDistribution,__init__,#MultivariateVariationalDistribution#Any#Any#Any#Any#Any#Any#,81
Before Change
qc_ = QuantumCircuit(q_, c_)
if not self._initial_distribution is None:
self._initial_distribution.build(qc_, q_)
qc_.extend(self._var_form.construct_circuit(self.params, q_))
qc_.measure(q_,c_)
quantum_instance = QuantumInstance(backend=BasicAer.get_backend("statevector_simulator"))
result = quantum_instance.execute(qc_)
result = result.get_statevector(qc_)
After Change
self._var_form = var_form
self.params = params
self._initial_distribution = initial_distribution
probabilities = np.zeros(2 ** sum(num_qubits))
super().__init__(num_qubits, probabilities, low, high)
self._var_form = var_form
self.params = params
self._initial_distribution = initial_distribution
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 3
Instances Project Name: Qiskit/qiskit-aqua
Commit Name: 26949ac70fc9cff80e633b0476c306d7809c8263
Time: 2019-04-30
Author: ouf@zurich.ibm.com
File Name: qiskit/aqua/components/uncertainty_models/multivariate_variational_distribution.py
Class Name: MultivariateVariationalDistribution
Method Name: __init__
Project Name: dmlc/dgl
Commit Name: cf8a3fb30547d6e980ecd8182f64a51df8e55c62
Time: 2021-02-10
Author: expye@outlook.com
File Name: python/dgl/backend/pytorch/tensor.py
Class Name:
Method Name: pack_padded_tensor
Project Name: automl/auto-sklearn
Commit Name: de074e29f36c33d5a8627f9e8ab92f1e0fd46d82
Time: 2014-12-15
Author: feurerm@informatik.uni-freiburg.de
File Name: AutoSklearn/implementations/OneHotEncoder.py
Class Name: OneHotEncoder
Method Name: _transform
Project Name: soft-matter/trackpy
Commit Name: b1316a19bc2c0ad8647b523cafcb0516754869f8
Time: 2012-09-17
Author: tcaswell@gmail.com
File Name: trackpy/tracking.py
Class Name: Hash_table
Method Name: get_region