1. 22 Dec, 2020 2 commits
  2. 20 Dec, 2019 1 commit
  3. 10 Dec, 2019 1 commit
  4. 26 Nov, 2019 1 commit
    • Joseph Weston's avatar
      replace '_count_norbs' with 'site_ranges' · dae719f6
      Joseph Weston authored
      The removed logic is an artifact from when vectorized and
      unvectorized systems shared the same logic for 'hamiltonian_submatrix'.
      This was accidentally left in when we reverted to the old logic
      for unvectorized systems.
      dae719f6
  5. 13 Nov, 2019 1 commit
    • Joseph Weston's avatar
      update abstract System to support vectorization · 64d9d4be
      Joseph Weston authored
      Add the 'subgraphs', 'terms', and 'site_arrays' attributes, and
      'hamiltonian_term' method and implement 'hamiltonian_submatrix',
      'cell_hamiltonian' and 'inter_cell_hopping' in a vectorized way.
      64d9d4be
  6. 01 Apr, 2019 1 commit
    • Christoph Groth's avatar
      fix avoidable backwards incompatibility: System.parameters · 2d3c51ad
      Christoph Groth authored
      When System.parameters was introduced, we thought it would be a good idea to
      also use this new attribute.  The plan was to check in hamiltonian_submatrix()
      whether any unneeded parameters are provided by the user.  This turned out to
      be impossible, so the only check that remained was whether all the necessary
      parameters are indeed provided.  However, this check is not necessary, because
      the 'hamiltonian' method is in any way obliged to signal an error when it does
      not obtain the necessary parameters.
      2d3c51ad
  7. 15 Feb, 2019 2 commits
  8. 14 Feb, 2019 1 commit
  9. 20 Jun, 2017 1 commit
  10. 21 Feb, 2017 1 commit
    • 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
  11. 30 Oct, 2016 1 commit
  12. 30 Aug, 2016 1 commit
  13. 08 Dec, 2015 1 commit
  14. 05 Nov, 2015 2 commits
  15. 20 Oct, 2015 1 commit
  16. 03 Aug, 2015 1 commit
  17. 21 May, 2014 1 commit
  18. 26 Aug, 2013 1 commit
  19. 31 Jul, 2013 1 commit
  20. 22 May, 2013 1 commit
  21. 25 Apr, 2013 1 commit
  22. 24 Apr, 2013 1 commit
  23. 12 Mar, 2013 1 commit
  24. 18 Feb, 2013 1 commit
  25. 06 Feb, 2013 1 commit
  26. 06 Nov, 2012 1 commit
  27. 27 Sep, 2012 1 commit
  28. 18 Sep, 2012 1 commit
  29. 11 Sep, 2012 1 commit