vibe-qc
The calculation engine, examples and documentation. vibe-basis stays inside this checkout.
Sketch, submit, calculate, then analyze. Install each product independently; you can open results or queue other programs without installing the engine.
Clone the public source, then enter it and install:
git clone https://github.com/vibe-qc/vibe-qc.git cd vibe-qc
./scripts/install.sh --dev
source .venv/bin/activate install.sh builds the native core, creates a virtualenv and
installs vibe-qc. It accepts --dev (track main) and
--branch NAME; see the
installation guide for the full
surface and the manual native-deps recipe.
GitHub HTTPS clones are anonymous. The installer above selects main from that origin; choose a published tag to pin a version. Source details.
Coordinates below are in bohr. With the environment activated, save this code as
water.py in a working directory outside the source checkout.
From that directory, run python water.py.
import vibeqc as vq
import numpy as np
mol = vq.Molecule([
vq.Atom(8, [ 0.0, 0.00, 0.00]),
vq.Atom(1, [ 0.0, 1.43, -0.98]),
vq.Atom(1, [ 0.0, -1.43, -0.98]),
])
basis = vq.BasisSet(mol, "6-31g*")
result = vq.run_rhf(mol, basis)
eps = np.asarray(result.mo_energies)
homo = mol.n_electrons() // 2 - 1
print(f"E(SCF) = {result.energy:.6f} Ha")
print(f"ε(HOMO) = {eps[homo]*27.211386:.2f} eV")
print(f"gap = {(eps[homo+1] - eps[homo])*27.211386:.2f} eV")
You get the SCF energy in hartree and the HOMO energy plus HOMO-LUMO gap in
eV. Swap run_rhf for run_rks to run DFT, or call
run_job(mol, basis="6-31g*", method="mp2") to add correlation:
same front end, same objects. The
methods page lists every route with its
production, preview, experimental or gated label.
Install the engine for calculations, then add the companions you need. Each repository has its own checkout and release tags. GitLab requires authorized access. Public projects provide GitHub snapshots; vibe-sketch access is currently arranged separately.
vibe-qc implements QVF independently and is validated against the published format; the QVF reference toolkit is not a runtime dependency.
Generate a QVF archive with the core, open that file with the separate viewer, and use the queue when scheduling is needed. Start with the QVF container example, viewer setup, or queue setup.