Skip to content

Commit

Permalink
Update qiskit_addon_dice_solver/dice_solver.py
Browse files Browse the repository at this point in the history
Co-authored-by: Kevin J. Sung <[email protected]>
  • Loading branch information
caleb-johnson and kevinsung authored Sep 25, 2024
1 parent af5671c commit 90e9913
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qiskit_addon_dice_solver/dice_solver.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def solve_fermion(
intermediate_dir = Path(tempfile.mkdtemp(prefix="dice_cli_files_", dir=temp_dir))

# Write the integrals out as an FCI dump for Dice command line app
active_space_path = os.path.join(intermediate_dir, "fcidump.txt")
active_space_path = intermediate_dir / "fcidump.txt"
num_orbitals = hcore.shape[0]
tools.fcidump.from_integrals(
active_space_path, hcore, eri, num_orbitals, (num_up + num_dn)
Expand Down

0 comments on commit 90e9913

Please sign in to comment.