7e43174e81dcb7fb8a0c225aedf986b02d8b188a,qiskit_aqua/algorithms/components/feature_maps/pauli_z_expansion.py,PauliZExpansion,__init__,#PauliZExpansion#Any#Any#Any#Any#Any#Any#,66
Before Change
pauli_string.append("Z" * i)
super().__init__(num_qubits, depth, entangler_map, entanglement,
paulis=pauli_string, data_map_func=data_map_func)
if self.__class__ == PauliZExpansion:
self.validate({
"depth": depth,
"entangler_map": entangler_map,
"entanglement": entanglement,
"z_order": z_order
})
After Change
pauli_string.append("Z" * i)
super().__init__(num_qubits, depth, entangler_map, entanglement,
paulis=pauli_string, data_map_func=data_map_func)
self.validate(locals())
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 7
Instances
Project Name: Qiskit/qiskit-aqua
Commit Name: 7e43174e81dcb7fb8a0c225aedf986b02d8b188a
Time: 2018-11-26
Author: manoel@us.ibm.com
File Name: qiskit_aqua/algorithms/components/feature_maps/pauli_z_expansion.py
Class Name: PauliZExpansion
Method Name: __init__
Project Name: Qiskit/qiskit-aqua
Commit Name: 7e43174e81dcb7fb8a0c225aedf986b02d8b188a
Time: 2018-11-26
Author: manoel@us.ibm.com
File Name: qiskit_aqua/algorithms/adaptive/vqe/vqe.py
Class Name: VQE
Method Name: __init__
Project Name: Qiskit/qiskit-aqua
Commit Name: 7e43174e81dcb7fb8a0c225aedf986b02d8b188a
Time: 2018-11-26
Author: manoel@us.ibm.com
File Name: qiskit_aqua/algorithms/components/feature_maps/pauli_expansion.py
Class Name: PauliExpansion
Method Name: __init__
Project Name: Qiskit/qiskit-aqua
Commit Name: 7e43174e81dcb7fb8a0c225aedf986b02d8b188a
Time: 2018-11-26
Author: manoel@us.ibm.com
File Name: qiskit_aqua/algorithms/components/feature_maps/pauli_z_expansion.py
Class Name: PauliZExpansion
Method Name: __init__