8459dabde4630afd938ecf4bd7aa6cbd948685b1,qiskit_aqua/algorithms/single_sample/iqpe/iqpe.py,IQPE,_construct_kth_evolution,#IQPE#Any#Any#Any#,155
Before Change
// hadamard on a[0]
qc.u2(0, np.pi, a[0])
// controlled-U
qc.data += self ._operator.construct_evolution_circuit(
slice_pauli_list, -2 * np.pi, self._num_time_slices, q, a, unitary_power=2 ** (k - 1)
).data
// global phase due to identity pauli
After Change
// hadamard on a[0]
qc.u2(0, np.pi, a[0])
// controlled-U
qc += self._operator.construct_evolution_circuit(
slice_pauli_list, -2 * np.pi, self._num_time_slices, q, a, unitary_power=2 ** (k - 1)
)
// global phase due to identity pauli
qc.u1(2 * np.pi * self._ancilla_phase_coef * (2 ** (k - 1)), a[0])
// rz on a[0]
qc.u1(omega, a[0])
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances Project Name: Qiskit/qiskit-aqua
Commit Name: 8459dabde4630afd938ecf4bd7aa6cbd948685b1
Time: 2018-10-10
Author: shaohan.hu@ibm.com
File Name: qiskit_aqua/algorithms/single_sample/iqpe/iqpe.py
Class Name: IQPE
Method Name: _construct_kth_evolution
Project Name: Qiskit/qiskit-aqua
Commit Name: b60bce667807aefc003f88b983910af7631ce8a7
Time: 2018-06-13
Author: shaohan.hu@ibm.com
File Name: qiskit_acqua/qpe/qpe.py
Class Name: QPE
Method Name: _construct_qpe_evolution
Project Name: Qiskit/qiskit-aqua
Commit Name: 8459dabde4630afd938ecf4bd7aa6cbd948685b1
Time: 2018-10-10
Author: shaohan.hu@ibm.com
File Name: qiskit_aqua/algorithms/single_sample/qpe/qpe.py
Class Name: QPE
Method Name: _construct_qpe_evolution