Tools · Quantum Chemistry
PySCF Electronic Structure
On this page
Prices, workflows, and method papersOpen in the app
Run it from the API
Submit with Submit a job and the job_type below. Price it first with Estimate job reservation cost: submitting reserves that amount from your wallet, and the charge settles at the actual runtime.
PySCF Electronic Structure pyscf-electronic
- Job type
pyscf-electronic- Hardware
cput4l4a10(default)l40sa100-40gba100-80gbh100h200b200- Typical runtime
- 2 h on Nvidia A10
Payload
| Field | Type | Description |
|---|---|---|
moderequired | string | One of: |
input_data[]required | (string | object)[] | Limits: |
input_formatrequired | string | One of: |
method | string | Default: |
basis | string | Default: |
charge | integer | Default: |
multiplicity | integer | Default: |
mp2 | boolean | Optional DF-MP2 correction; energy mode only. Default: |
nstates | integer | TDDFT excited states; tddft mode only. Default: |
charge_model | string | Partial-charge model; charges mode only. Default: |
Example
from cognichem_client import CogniChem
client = CogniChem.from_env() # reads COGNICHEM_API_KEY
payload = {
"mode": "energy",
"input_data": [
"ethanol\n RDKit 3D\n\n 9 8 0 0 0 0 0 0 0 … (813 characters)",
],
"input_format": "molblock",
"method": "hf",
"basis": "def2-svp",
"charge": 0,
"multiplicity": 1,
"mp2": False,
}
estimate = client.jobs.estimate(job_type="pyscf-electronic", payload=payload, resource="a10")
print(f"Reserves ${estimate.cost:.2f}")
job = client.jobs.submit(
job_name="my-pyscf-electronic-run",
job_type="pyscf-electronic",
payload=payload,
resource="a10",
)
status = client.jobs.wait(job.process_id)
if status.status == "completed":
client.jobs.result(job.process_id, save_path=".")curl -X POST "https://api.cognichem.com/api/v1/jobs/submit" \
-H "X-Api-Key: $COGNICHEM_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"job_name": "my-pyscf-electronic-run",
"job_type": "pyscf-electronic",
"payload": {
"mode": "energy",
"input_data": [
"ethanol\n RDKit 3D\n\n 9 8 0 0 0 0 0 0 0 … (813 characters)"
],
"input_format": "molblock",
"method": "hf",
"basis": "def2-svp",
"charge": 0,
"multiplicity": 1,
"mp2": false
},
"resource": "a10"
}'{
"mode": "energy",
"input_data": [
"ethanol\n RDKit 3D\n\n 9 8 0 0 0 0 0 0 0 … (813 characters)"
],
"input_format": "molblock",
"method": "hf",
"basis": "def2-svp",
"charge": 0,
"multiplicity": 1,
"mp2": false
}Sample data from the job catalog; long values are shortened here. Each job_name must be unique among your jobs.
Workflow inputs
- Molecules (list)SDF, MOL, MOL2, MOLBLOCK
Workflow outputs
- ArchiveZIP
- MoleculesSDF
- TableCSV