Skip to content
Snippets Groups Projects
  1. Nov 26, 2019
    • 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
  2. Nov 13, 2019
  3. Apr 01, 2019
    • 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
  4. Feb 15, 2019
  5. Feb 14, 2019
  6. Jun 20, 2017
  7. Feb 21, 2017
    • 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
  8. Oct 30, 2016
  9. Aug 30, 2016
  10. Dec 08, 2015
  11. Nov 05, 2015
  12. Oct 20, 2015
  13. Aug 03, 2015
  14. May 21, 2014
  15. Aug 26, 2013
  16. Jul 31, 2013
  17. May 22, 2013
  18. Apr 25, 2013
  19. Apr 24, 2013
  20. Mar 12, 2013
  21. Feb 18, 2013
  22. Feb 06, 2013
  23. Nov 06, 2012
  24. Sep 27, 2012
  25. Sep 18, 2012
  26. Sep 11, 2012
Loading