Added support for complex Hamiltonians to Davidson code.
Fixed an implicit conversion bug in class Opt.
Added support for complex number case to SVDWorker::svd.
Worked on complex IQTensors. Deprecated (broken) method mapindex. Index::prime(IndexType) now works for type ReIm. Simplified how complex numbers are handled in ITensor contractions.
Deprecated ITensor::findindex methods. ITensor interface should not depend on Index order.
Brought Index and IQIndex interfaces into closer alignment. Fixed some issues with priming of complex indices. Made all fields of IndexDat const. Moved lots of code in index.h and iqindex.h into cc files. Worked on further encapsulating index classes, making many class methods into free methods.
Cleanup of Index interface and index.h.
Removed underscores from names of IndexDat fields.
Cleaned up SVDWorker code and checked implementation of denmatDecomp for complex case.
Unified interface for converting tensors to scalars. Now ITensor and IQTensor have methods toReal() (returns a Real) and toComplex(Real& re,Real& im).
Updated some unit tests.