Hide keyboard shortcuts

Hot-keys on this page

r m x p   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

32

33

34

35

36

37

38

39

40

41

42

43

44

45

46

47

48

from .graph.defs cimport gint 

from .graph.defs import gint_dtype 

  

  

cdef gint _bisect(gint[:] a, gint x) 

  

cdef int _is_herm_conj(complex[:, :] a, complex[:, :] b, 

double atol=*, double rtol=*) except -1 

  

cdef int _check_onsite(complex[:, :] M, gint norbs, 

int check_hermiticity) except -1 

  

cdef int _check_ham(complex[:, :] H, ham, args, params, 

gint a, gint a_norbs, gint b, gint b_norbs, 

int check_hermiticity) except -1 

  

cdef void _get_orbs(gint[:, :] site_ranges, gint site, 

gint *start_orb, gint *norbs) 

  

  

cdef class BlockSparseMatrix: 

cdef public gint[:, :] block_offsets, block_shapes 

cdef public gint[:] data_offsets 

cdef public complex[:] data 

  

cdef complex* get(self, gint block_idx) 

  

  

cdef class _LocalOperator: 

cdef public int check_hermiticity, sum 

cdef public object syst, onsite, _onsite_param_names 

cdef public gint[:, :] where, _site_ranges 

cdef public BlockSparseMatrix _bound_onsite, _bound_hamiltonian 

  

cdef BlockSparseMatrix _eval_onsites(self, args, params) 

cdef BlockSparseMatrix _eval_hamiltonian(self, args, params) 

  

  

cdef class Density(_LocalOperator): 

pass 

  

  

cdef class Current(_LocalOperator): 

pass 

  

  

cdef class Source(_LocalOperator): 

pass