forte2._forte2.cpp_helpers ========================== .. py:module:: forte2._forte2.cpp_helpers Module Contents --------------- .. py:function:: pair_index_geq(arg0: int, arg1: int, /) -> int .. py:function:: pair_index_gt(arg0: int, arg1: int, /) -> int .. py:function:: inv_pair_index_gt(arg: int, /) -> tuple[int, int] .. py:function:: triplet_index_gt(arg0: int, arg1: int, arg2: int, /) -> int .. py:function:: triplet_index_aab(arg0: int, arg1: int, arg2: int, arg3: int, /) -> int .. py:function:: triplet_index_abb(arg0: int, arg1: int, arg2: int, arg3: int, /) -> int .. py:function:: packed_tensor4_to_tensor4(m: Annotated[numpy.typing.NDArray[numpy.float64], dict(shape=(None, None))]) -> Annotated[numpy.typing.NDArray[numpy.float64], dict(shape=(None, None, None, None))] packed_tensor4_to_tensor4(m: Annotated[numpy.typing.NDArray[numpy.complex128], dict(shape=(None, None))]) -> Annotated[numpy.typing.NDArray[numpy.complex128], dict(shape=(None, None, None, None))]