1. 22 Feb, 2017 4 commits
  2. 21 Feb, 2017 2 commits
    • Pablo Piskunow's avatar
      fix bug when an odd number of KPM moments is used · d65a2b4a
      Pablo Piskunow authored
      Also refactor '_update_moments_list' and add some tests
      to check for when an odd number of KPM moments is used.
      d65a2b4a
    • Joseph Weston's avatar
      allow systems to accept named parameters · 886d083c
      Joseph Weston authored
      Hamiltonian value functions may now have signatures that depend on
      different parameters. On finalization, Builders now inspect all of their
      value functions and store the names of the parameters on which the value
      function depends. Then, when evaluating the Hamiltonian, a particular
      value function is only passed the parameters on which it depends.
      
      'System.hamiltonian' has been updated to accept an extra keyword-only
      parameter, 'params', which is a dictionary mapping parameter names to
      values. This is mutually exclusive with the existing '*args'. All
      top-level API that takes an 'args' parameter now also takes a
      keyword-only parameter, 'params'
      886d083c
  3. 16 Feb, 2017 1 commit
    • Pablo Piskunow's avatar
      fix behavior of 'bounds' and 'epsilon' in KPM · ad3ccb0e
      Pablo Piskunow authored
      Now, the tolerance to which the spectral bounds of the Hamiltonian
      are calculated is set by 'epsilon', which also controls the
      rescaling of the Hamiltonian to ensure that the spectral bounds are
      strictly between (-1, 1). Also the spectral bounds are only calculated
      *once* (if not provided by the user).
      ad3ccb0e
  4. 15 Feb, 2017 1 commit
    • Tómas's avatar
      update superconductor tutorial · cafa3e88
      Tómas authored
      Uses the new conservation law and discrete symmetry interface
      to Builder, and illustrates the separation of the scattering matrix into
      blocks depending on conservation law eigenvalue.
      cafa3e88
  5. 02 Feb, 2017 4 commits
  6. 01 Feb, 2017 1 commit
  7. 31 Jan, 2017 2 commits
  8. 30 Jan, 2017 5 commits
  9. 27 Jan, 2017 1 commit
  10. 24 Jan, 2017 9 commits
  11. 22 Jan, 2017 1 commit
  12. 21 Jan, 2017 1 commit
  13. 20 Jan, 2017 1 commit
  14. 19 Jan, 2017 1 commit
  15. 17 Jan, 2017 1 commit
  16. 16 Jan, 2017 1 commit
  17. 15 Jan, 2017 1 commit
  18. 12 Jan, 2017 2 commits
    • Joseph Weston's avatar
      correct semantics of operator calling · c27b2a53
      Joseph Weston authored
      Previously, calling an operator would spuriously return a float
      when the operator was hermitian, even if the bra/ket vectors
      sandwiching the operator were not the same.
      c27b2a53
    • Joseph Weston's avatar
      refactor operator module to remove compile-time warnings · 7dbf4d50
      Joseph Weston authored
      Explicitly initialize pointers to NULL, refrain from using
      pythonic constructs, e.g. `a or b`, with cython extension types;
      this causes cython to produce (correct) code where pointers are
      not cast to the correct type.
      7dbf4d50
  19. 11 Jan, 2017 1 commit