Skip to content

Commit

Permalink
Merge branch 'fix-test' of github.com:Qiskit/qiskit-addon-dice-solver…
Browse files Browse the repository at this point in the history
… into fix-test
  • Loading branch information
caleb-johnson committed Sep 25, 2024
2 parents 56ac037 + 600e55d commit 3011a19
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions qiskit_addon_dice_solver/dice_solver.py
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,10 @@ def _write_input_files(
max_iter: int,
) -> None:
"""Prepare the Dice inputs in the specified directory."""
### Move the FCI Dump to dice dir if it's not already there. ###
dice_fci_path = dice_dir / "fcidump.txt"
if not os.path.exists(dice_fci_path):
shutil.copy(active_space_path, dice_fci_path)
### Write the input.dat ###
num_elec = num_up + num_dn
# Return only the lowest-energy state
Expand Down

0 comments on commit 3011a19

Please sign in to comment.