Permalink
Commits on Nov 14, 2018
  1. Change EQ_TOLERANCE from 1e-12 to 1e-8 (#487)

    kevinsung authored and babbush committed Nov 14, 2018
    * change EQ_TOLERANCE from 1e-12 to 1e-8
    
    * add back debug line
  2. Port packaging scripts from Cirq (#486)

    kevinsung committed Nov 14, 2018
    * move examples_test
    
    * port packaging scripts from Cirq
    
    * fix test
    
    * change copyright notices
    
    * delete mock
  3. fix test (#485)

    kevinsung committed Nov 14, 2018
  4. bump version (#484)

    kevinsung authored and babbush committed Nov 14, 2018
Commits on Oct 12, 2018
  1. index functions (#470)

    kevinsung committed Oct 12, 2018
  2. Lower numpy requirement (#478)

    kevinsung authored and babbush committed Oct 12, 2018
    * omit numpy.block
    
    * decrease numpy requirement
Commits on Sep 21, 2018
  1. fix (#464)

    kevinsung committed Sep 21, 2018
  2. Automatically detect spin symmetry in Bogoliubov transformation matrix (

    kevinsung authored and babbush committed Sep 21, 2018
    #463)
    
    * index negative energies
    
    * block diag
    
    * increase numpy requirement for block
    
    * fix initial state
    
    * deprecate orbital_energies
    
    * fix ground_energy
  3. Add option to specify spin sector in Bogoliubov transformation (#462)

    kevinsung authored and babbush committed Sep 21, 2018
    * implement particle-conserving spin-symmetric bogoliubov transform
    
    * return spin matrices separately
    
    * clean up imports
    
    * fix index function imports
    
    * increase test coverage
    
    * have diagonalizing_bogoliubov_transform also return energies
    
    * add spin sector option to gaussian state preparation
    
    * improve doc
    
    * fix tests
    
    * raise notimplementederror
    
    * fix test
    
    * assume up then down ordering
Commits on Sep 14, 2018
  1. don't print zero terms (#459)

    kevinsung authored and babbush committed Sep 14, 2018
  2. Refactor Hubbard module (#454)

    kevinsung authored and babbush committed Sep 14, 2018
    * edit hubbard tests
    
    * minor improvements
    
    * extract neighbor functions
    
    * split off spinful function
    
    * split off spinless function
    
    * split off bose_hubbard
    
    * reorder functions in file
    
    * lint
    
    * edit module docstring
    
    * fix bose_hubbard docstring
    
    * don't double-count
    
    * add more tests
  3. fix spinless Hubbard model doc (#452)

    kevinsung authored and babbush committed Sep 14, 2018
Commits on Sep 5, 2018
  1. Improve script for testing examples (#442)

    kevinsung committed Sep 5, 2018
    * add examples_test
    
    * delete old examples test
    
    * move to tests folder
    
    * polish
    
    * canonicalize scientific notation
    
    * rename file
    
    * omit correctness test
    
    * re-run notebooks
    
    * remove Python 3 function annotations
Commits on Sep 3, 2018
  1. Update Docker image (#441)

    kevinsung authored and babbush committed Sep 3, 2018
    * edit dockerfile
    
    * more edits
    
    * update README
Commits on Aug 14, 2018
  1. expose load_molecular_hamiltonian (#433)

    kevinsung authored and babbush committed Aug 14, 2018
  2. Wrapper function for loading a molecular Hamiltonian (#432)

    kevinsung authored and babbush committed Aug 14, 2018
    * add load molecular hamiltonian function
    
    * doc
  3. Diagonalize one-body matrix using eigh and in spatial basis for low r…

    kevinsung authored and babbush committed Aug 14, 2018
    …ank decomposition (#429)
    
    * diagonalize in spatial basis
    
    * doc
    
    * lint
  4. Add option to generate random InteractionOperators with spin symmetry (

    kevinsung authored and jarrodmcc committed Aug 14, 2018
    …#426)
    
    * add expand_to_spin option to random interaction operator generator
    
    * doc
    
    * rename option
    
    * add test
    
    * trivial change to try to restart checks
Commits on Aug 11, 2018
  1. update scipy requirement to 1.1.0 (#425)

    kevinsung authored and babbush committed Aug 11, 2018
Commits on Aug 6, 2018
  1. Add constant property to SymbolicOperator (#423)

    kevinsung authored and babbush committed Aug 6, 2018
    * add constant property to SymbolicOperator
    
    * add test
Commits on Aug 2, 2018
  1. Make SymbolicOperator abstract (#418)

    kevinsung committed Aug 2, 2018
    * make SymbolicOperator abstract
    
    * lint
    
    * remove pass statements that coveralls complains about
    
    * Revert "remove pass statements that coveralls complains about"
    
    This reverts commit 2d0cb9c.
    
    * use six.add_metaclass for Python 2 compatibility
Commits on Jul 11, 2018
  1. sort terms for string output (#390)

    kevinsung authored and babbush committed Jul 11, 2018
Commits on Jul 10, 2018
  1. fix RNG seeding in testing functions (#389)

    kevinsung authored and jarrodmcc committed Jul 10, 2018
    * fix seeding
    
    * fix other seeding issues
    
    * add tests
    
    * fix
    
    * style
    
    * add tests
Commits on Jun 27, 2018
  1. Allow taking expectation of LinearOperator and switch HF state to num…

    kevinsung authored and jarrodmcc committed Jun 27, 2018
    …py array (#377)
    
    * allow expectation of LinearOperator and switch HF state to numpy array
    
    * handle column vector
Commits on Jun 12, 2018
  1. Rewrite get ground states by particle number (#359)

    kevinsung authored and jarrodmcc committed Jun 12, 2018
    * rewrite get ground states by particle number
    
    * add tests
    
    * fix function name and lint
  2. add ignore terms flag (#368)

    kevinsung committed Jun 12, 2018
Commits on May 18, 2018
  1. allow get_ground_state to be applied to linearoperators (#338)

    kevinsung authored and jarrodmcc committed May 18, 2018
Commits on May 17, 2018
  1. Use ndarray instead of sparse matrices for states (#336)

    kevinsung committed May 17, 2018
    * use ndarray instead of sparse matrices for states
    
    * import modules correctly
    
    * fix int issue
Commits on May 4, 2018
  1. Allow more than two arguments in BCH expansion (#331)

    kevinsung authored and babbush committed May 4, 2018
    * allow more arguments to bch_expansion
    
    * use kwargs for Python 2 compatibility
    
    * refactor for nicer error messages
Commits on May 3, 2018
  1. expose inline_sum (#330)

    kevinsung committed May 3, 2018
Commits on May 1, 2018
  1. add entries to gitignore (#327)

    kevinsung authored and idk3 committed May 1, 2018
Commits on Apr 30, 2018
  1. use EQ_TOLERANCE to check for real numbers (#325)

    kevinsung authored and babbush committed Apr 30, 2018
  2. use raw strings for math (#323)

    kevinsung authored and babbush committed Apr 30, 2018
Commits on Apr 26, 2018
  1. Fix docs errors and lint in ops (#318)

    kevinsung committed Apr 26, 2018
    * lint
    
    * just use one underscore
    
    * remove "from __future__ import absolute_import"
Commits on Apr 23, 2018
  1. Return non-redundant Bogoliubov transformation matrix (#314)

    kevinsung authored and babbush committed Apr 23, 2018
    * return an Nx(2N) bogoliubov matrix instead of (2N)x(2N)
    
    * doc