Skip to content

Latest commit

 

History

History
30 lines (16 loc) · 709 Bytes

api-v3.rst

File metadata and controls

30 lines (16 loc) · 709 Bytes

# PySCF v3 API proposals

## Removing TaggedNPArray

### Passing additional keyword arguments

### Returning multiple values instead of the TaggedNPArray

### Global configuration to control the return style

---

## Introducing a universal NumPy interface for various NumPy-compatible libraries

A general NumPy wrapper can be developed in PySCF to provide a universal interface to access NumPy functions. This interface would enable automatic switching to jax.numpy or torch functions depending on the runtime context.

This interface can be imported as:

import pyscf.numpy as fnp

---

## Allowing extensions written in C++