a8dbec9e5e7aedc49a8c09073eed54659013c75b,test/chemistry/test_uccsd_advanced.py,TestUCCSDHartreeFock,test_uccsd_hf_qpUCCD,#TestUCCSDHartreeFock#,79
Before Change
excitation_type="d"
)
algo = VQE(self.qubit_op, var_form, optimizer)
result = algo.run(QuantumInstance(BasicAer.get_backend("statevector_simulator")))
result = self.core.process_algorithm_result(result)
self.assertAlmostEqual(result.energy, self.reference_energy_pUCCD, places=6)
def test_uccsd_hf_qUCCD0(self):
After Change
quantum_instance=QuantumInstance(
backend=BasicAer.get_backend("statevector_simulator")))
gsc = GroundStateEigensolver(self.fermionic_transformation, solver)
result = gsc.solve(self.driver)
self.assertAlmostEqual(result.energy, self.reference_energy_pUCCD, places=6)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 8
Instances
Project Name: Qiskit/qiskit-aqua
Commit Name: a8dbec9e5e7aedc49a8c09073eed54659013c75b
Time: 2020-10-14
Author: bpa@zurich.ibm.com
File Name: test/chemistry/test_uccsd_advanced.py
Class Name: TestUCCSDHartreeFock
Method Name: test_uccsd_hf_qpUCCD
Project Name: Qiskit/qiskit-aqua
Commit Name: a8dbec9e5e7aedc49a8c09073eed54659013c75b
Time: 2020-10-14
Author: bpa@zurich.ibm.com
File Name: test/chemistry/test_uccsd_advanced.py
Class Name: TestUCCSDHartreeFock
Method Name: test_uccsd_hf_qUCCD0
Project Name: Qiskit/qiskit-aqua
Commit Name: a8dbec9e5e7aedc49a8c09073eed54659013c75b
Time: 2020-10-14
Author: bpa@zurich.ibm.com
File Name: test/chemistry/test_uccsd_advanced.py
Class Name: TestUCCSDHartreeFock
Method Name: test_uccsd_hf_qUCCD0full