• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Qiskit / qiskit-aqua / 2827
84%

Build:
DEFAULT BRANCH: master
Ran 19 Mar 2020 03:08PM UTC
Jobs 1
Files 275
Run time 37s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
2827

push

travis-ci-com

web-flow
FCIDump Driver (#859)

* Implement FCIDumpDriver

The FCIDumpDriver provides the means to construct a QMolecule instance
out of a FCIDump file.
It is split into three parts:
  - the `driver` itself which provides the normal run() method
  - a separate `parser` implementation which handles FCIDump reading
  - an additional `dumper` implementation which allows FCIDump writing

* Add FCIDumpDriver unittests

* Fix typo and remove from pylintdict

* Fix copyright year

* Fix copyright year - part 2

* Finally, make copyright correct.

The copyright should include:
  <year of file creation>, <year of last modification>
In the case were these are the same, it is sufficient to state it once.

* Refactor FCIDump parsing unittests

Instead of relying on a hard-coded RHF and UHF testcase for H2, we are
now testing against the FCIDump files for H2, LiH and OH.
For the latter two cases the numpy reference arrays are provided as
compressed archive files.

* Store inactive energy in nuclear repulsion energy instead of HF energy.

* Add FCIDumpDriver unittest for stack integration

* Check for num_atoms in QMolecule.core_orbitals()

In the example of a `freeze_core` Hamiltonian this method is called to
return the list of core orbitals.
When working with the FCIDumpDriver it may be the case that `num_atoms`
is not set. Thus, we check for this case and return in empty list
instead.

Unittests have been added which assert that a warning is logged.

* Add optional num_particles argument

Allow the user to manually specify the number of particles.

* Add optional atoms argument

Allow the user to manually specify the molecule information.
This permits frozen core Hamiltonians to be created from
FCIDumpDriver-generated QMolecule instances.

* Update FCIDumpDriver unittest documentation

* Add MS2, ISYM and ORBSYM optional arguments

* Add unittest for dumping RHF H2 QMolecule instance

* Use MS2 (spin quantum num... (continued)

13951 of 17003 relevant lines covered (82.05%)

0.82 hits per line

Jobs
ID Job ID Ran Files Coverage
14 2827.14 (DEPENDENCY_BRANCH=$(if [[ "$TRAVIS_BRANCH" == stable* ]]; then echo "stable"; else echo "master"; fi) INIT_FILE="$TRAVIS_BUILD_DIR/qiskit/__init__.py") 19 Mar 2020 03:08PM UTC 0
82.05
Travis Job 2827.14
Source Files on build 2827
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #2827
  • 6411b19c on github
  • Prev Build on master (#2795)
  • Next Build on master (#2842)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc