Overview
The QC framework extends beyond diatomic molecules to support polyatomic systems including water (H₂O), ammonia (NH₃), and methane (CH₄). The same pipeline that handles H₂ scales naturally to larger molecular systems.Polyatomic molecules are processed through PySCF for reference data. VQE optimization is limited by classical FCI cost scaling beyond ~10 orbitals.
Supported Molecules
Water (H₂O)
Water is the primary test case for polyatomic support. System Parameters:- Electrons: 10
- Orbitals: 7
- Qubits: 14 (spin-orbital basis)
- Geometry: O-H bond = 0.9575 Å, H-O-H angle = 104.5°
| Method | Energy (Ha) |
|---|---|
| Hartree-Fock | -74.96297761 |
| FCI (exact) | -75.01249437 |
| Correlation | 0.049517 |
Molecular Structure
Molecular Structure
Ammonia (NH₃)
System Parameters:- Electrons: 10
- Orbitals: 8
- Qubits: 16
- Status: Processed successfully through pipeline
NH₃ has one more orbital than H₂O due to nitrogen’s 2s and 2p atomic orbitals. The pyramidal geometry (C₃ᵥ symmetry) affects orbital ordering.
Methane (CH₄)
System Parameters:- Electrons: 10
- Orbitals: 9
- Qubits: 18
- Symmetry: Tetrahedral (Tₐ)
- Status: Processed successfully through pipeline
Why 18 Qubits?
Why 18 Qubits?
The qubit count comes from:
- 9 spatial orbitals × 2 spins = 18 spin-orbitals
- Each spin-orbital → 1 qubit in Jordan-Wigner mapping
- Carbon contributes 4 valence orbitals (2s, 2pₓ, 2pᵧ, 2p_z)
- Each hydrogen contributes ~1 molecular orbital
- Plus antibonding combinations
Framework Pipeline
PySCF Integration
All polyatomic molecules use PySCF for quantum chemistry calculations:Jordan-Wigner Transformation
Molecular orbitals are mapped to qubits:- Molecular Orbitals: PySCF computes MO coefficients
- Second Quantization: Electronic Hamiltonian in creation/annihilation operators
- Jordan-Wigner: Fermion operators → Pauli strings on qubits
- Hamiltonian: Sum of weighted Pauli terms
Example: H₂O Hamiltonian
Example: H₂O Hamiltonian
Computational Scaling
Memory Requirements
| Molecule | Qubits | Statevector | MPS (χ=16) | Compression |
|---|---|---|---|---|
| H₂ | 4 | 16 complex | ~0.5 KB | 32x |
| H₂O | 14 | 16,384 | ~7 KB | ~2000x |
| NH₃ | 16 | 65,536 | ~8 KB | ~8000x |
| CH₄ | 18 | 262,144 | ~9 KB | ~30000x |
FCI Scaling Limit
From README.md line 109:The limitation is not in the neural backends but in classical FCI cost. Beyond about ten orbitals, exact reference becomes prohibitive.Classical FCI scales as:
- Memory: O(N_basis^4)
- Time: O(N_basis^6) or worse
- CCSD/CCSD(T) for reference energies
- DMRG for 1D systems
- Selected CI methods
Implementation Details
Molecular Data Structure
H₂O Example
VQE for Polyatomic Molecules
UCCSD Ansatz
The same UCCSD (Unitary Coupled Cluster Singles and Doubles) ansatz used for H₂ extends to polyatomic systems:- Occupied orbitals: 10
- Virtual orbitals: 4
- Singles: 10 × 4 = 40
- Doubles: 45 × 6 = 270
- Total parameters: 310
Parameter Scaling
Parameter Scaling
UCCSD parameter count scales as:
Note: Using spatial orbitals, not spin-orbitals.
| Molecule | n_occ | n_vir | Singles | Doubles | Total |
|---|---|---|---|---|---|
| H₂ | 2 | 2 | 4 | 1 | 5 |
| H₂O | 5 | 2 | 10 | 10 | 20 |
| NH₃ | 5 | 3 | 15 | 30 | 45 |
| CH₄ | 5 | 4 | 20 | 60 | 80 |
Optimization Challenges
Polyatomic VQE faces:- Parameter space explosion: 100+ parameters for H₂O
- Barren plateaus: Gradient vanishing in large parameter spaces
- Local minima: Multiple stationary points
- Classical cost: Each energy evaluation requires full circuit execution
Experimental Results
From README.md lines 99-113:Pipeline Validation
H₂O: 10 electrons, 7 orbitals, 14 qubits - Processed successfully
NH₃: 10 electrons, 8 orbitals, 16 qubits - Processed successfully
CH₄: 10 electrons, 9 orbitals, 18 qubits - Processed successfully
Key Observation (README.md:112-113)
The important observation is that nothing broke. The pipeline scales naturally.This demonstrates:
- Code generality: No special-casing for molecule size
- Interface consistency: Same API for H₂ and H₂O
- Neural backend robustness: Backends handle varying qubit counts
Usage Example
Future Extensions
Active Space
Reduce qubit count by freezing core/deleting virtual orbitals
Symmetry
Exploit point group symmetries to reduce parameter count
Fragment
Break large molecules into fragments for scalability
Adaptive
ADAPT-VQE for automatic parameter selection
References
- README.md results: lines 99-113
- Implementation:
molecular_sim.py - PySCF documentation: https://pyscf.org
- OpenFermion: https://github.com/quantumlib/OpenFermion
Related Topics
Topology
MPS for large molecules
Entanglement
Orbital entanglement