Das kommt aus der Out Datei heraus;Psi4: An Open-Source Ab Initio Electronic Structure Package
Psi4 1.9.1 release
code
Git: Rev {} zzzzzzz
D. G. A. Smith, L. A. Burns, A. C. Simmonett, R. M. Parrish,
M. C. Schieber, R. Galvelis, P. Kraus, H. Kruse, R. Di Remigio,
A. Alenaizan, A. M. James, S. Lehtola, J. P. Misiewicz, M. Scheurer,
R. A. Shaw, J. B. Schriber, Y. Xie, Z. L. Glick, D. A. Sirianni,
J. S. O'Brien, J. M. Waldrop, A. Kumar, E. G. Hohenstein,
B. P. Pritchard, B. R. Brooks, H. F. Schaefer III, A. Yu. Sokolov,
K. Patkowski, A. E. DePrince III, U. Bozkaya, R. A. King,
F. A. Evangelista, J. M. Turney, T. D. Crawford, C. D. Sherrill,
J. Chem. Phys. 152(18) 184108 (2020). https://doi.org/10.1063/5.0006002
Additional Code Authors
E. T. Seidl, C. L. Janssen, E. F. Valeev, M. L. Leininger,
J. F. Gonthier, R. M. Richard, H. R. McAlexander, M. Saitow, X. Wang,
P. Verma, M. H. Lechner, A. Jiang, S. Behnle, A. G. Heide,
M. F. Herbst, and D. L. Poole
Previous Authors, Complete List of Code Contributors,
and Citations for Specific Modules
https://github.com/psi4/psi4/blob/master/codemeta.json
https://github.com/psi4/psi4/graphs/contributors
http://psicode.org/psi4manual/master/introduction.html#citing-psifour
-----------------------------------------------------------------------
Psi4 started on: Thursday, 26 September 2024 10:42PM
Process ID: 132398
Host: kali
PSIDATADIR: /home/titan/psi4conda/share/psi4
Memory: 500.0 MiB
Threads: 1
==> Input File <==
import psi4
Set memory and output options
Assistant
The content you have provided appears to be an output or configuration file from a computational chemistry software package called Psi4. This software is used for performing electronic structure calculations, which are essential in quantum chemistry for understanding molecular properties and behaviors.
The file includes various components:
Software Version and Authors:
Description of the Psi4 software, including version 1.9.1 and lists of contributors and authors, reaffirming Psi4's open-source nature and the community's role in its development.
Definiere den Berechnungslevel (Hartree-Fock mit 6-311++G**-Basis)
basis_set = '6-311++G**'
method = 'scf'
Berechnung der Ionisierungsenergie für Natrium (Alkalimetall)
Schritt 1: Energie des neutralen Natriumatoms (UHF für ungepaartes Elektron)
na_molecule = psi4.geometry("""
Na
""")
psi4.set_options({'reference': 'uhf'}) # Unrestricted Hartree-Fock für ein ungepaartes Elektron
na_neutral_energy = psi4.energy(f'{method}/{basis_set}', molecule=na_molecule)
Schritt 2: Energie des Natriumkations (Na⁺)
na_plus_molecule = psi4.geometry("""
Na
""") # Für das Kation, einfach Na verwenden
na_plus_energy = psi4.energy(f'{method}/{basis_set}', molecule=na_plus_molecule)
Berechnung der Ionisierungsenergie (in eV)
ionization_energy_na = (na_plus_energy - na_neutral_energy) * 27.2114 # Umrechnung in eV
print(f"Ionisierungsenergie von Natrium: {ionization_energy_na:.2f} eV")
Berechnung der Ionisierungsenergie für Magnesium (Erdalkalimetall)
Schritt 1: Energie des neutralen Magnesiumatoms (UHF, da ein ungepaartes Elektron vorhanden ist)
mg_molecule = psi4.geometry("""
Mg
""")
psi4.set_options({'reference': 'uhf'}) # Unrestricted Hartree-Fock für ungepaartes Elektron
mg_neutral_energy = psi4.energy(f'{method}/{basis_set}', molecule=mg_molecule)
ionization_energy_mg = (mg_plus_energy - mg_neutral_energy) * 27.2114 # Umrechnung in eV
print(f"Ionisierungsenergie von Magnesium: {ionization_energy_mg:.2f} eV")
Berechnung der Elektronenaffinität für Chlor (Halogen)
Schritt 1: Energie des neutralen Chloratoms (UHF für ungepaartes Elektron)
cl_molecule = psi4.geometry("""
Cl
""")
psi4.set_options({'reference': 'uhf'}) # UHF für ungepaartes Elektron
cl_neutral_energy = psi4.energy(f'{method}/{basis_set}', molecule=cl_molecule)
Schritt 2: Energie des Chlor-Anions (Cl⁻)
cl_minus_molecule = psi4.geometry("""
Cl
""") # Für das Anion, einfach Cl verwenden
cl_minus_energy = psi4.energy(f'{method}/{basis_set}', molecule=cl_minus_molecule)
Berechnung der Elektronenaffinität (in eV)
electron_affinity_cl = (cl_neutral_energy - cl_minus_energy) * 27.2114 # Umrechnung in eV
print(f"Elektronenaffinität von Chlor: {electron_affinity_cl:.2f} eV")
Berechnung der Elektronenaffinität für Neon (Edelgas)
Schritt 1: Energie des neutralen Neons (RHF, da alle Elektronen gepaart sind)
ne_molecule = psi4.geometry("""
Ne
""")
psi4.set_options({'reference': 'rhf'}) # RHF für gepaarte Elektronen
ne_neutral_energy = psi4.energy(f'{method}/{basis_set}', molecule=ne_molecule)
Schritt 2: Energie des Neon-Anions (Ne⁻)
ne_minus_molecule = psi4.geometry("""
Ne
""") # Für das Anion, einfach Ne verwenden
ne_minus_energy = psi4.energy(f'{method}/{basis_set}', molecule=ne_minus_molecule)
Berechnung der Elektronenaffinität (in eV)
electron_affinity_ne = (ne_neutral_energy - ne_minus_energy) * 27.2114 # Umrechnung in eV
print(f"Elektronenaffinität von Neon: {electron_affinity_ne:.2f} eV")
Ergebnisse
print("\n--- Vergleich der Reaktivität ---")
print(f"Ionisierungsenergie von Natrium (Alkalimetall): {ionization_energy_na:.2f} eV")
print(f"Ionisierungsenergie von Magnesium (Erdalkalimetall): {ionization_energy_mg:.2f} eV")
print(f"Elektronenaffinität von Chlor (Halogen): {electron_affinity_cl:.2f} eV")
print(f"Elektronenaffinität von Neon (Edelgas): {electron_affinity_ne:.2f} eV")
Memory set to 476.837 MiB by Python driver.
Execution Details:
Shows the date and time when the Psi4 calculation started, along with the system details like the process ID and the hostname.
Indicates memory allocation and the number of threads used for computation.
Input File Script:
A Python script using the Psi4 library, which defines a series of calculations:
Ionization Energy: Calculates the ionization energy for sodium and magnesium.
Electron Affinity: Computes the electron affinity for chlorine and neon.
It specifies the method and basis set (scf and 6-311++G**) for the calculations and uses different Hartree-Fock references (UHF and RHF) depending on the electron configuration of the molecules.
Computation Steps:
Specifies the method for creating geometries of the molecules and performing energy calculations.
It involves converting calculation results into electron volts (eV) to express ionization energies and electron affinities.
Output:
Intended results include ionization energies and electron affinities, which are printed at the end of the script for comparison and analysis.
This file serves as both a guide for inputting data in Psi4 and understanding the resulting computational chemistry outcomes. It showcases the use of Psi4 for investigating the reactivity of different elements through energy calculations that reflect fundamental chemical properties.