Skip to content
Permalink
Browse files

Tapering off qubits using stabilizer conditions. (#516)

* Create function to taper off qubits and reduce terms in a Hamiltonian using stabilizer conditions, add test module for these functions, update init file to import them

* Create function to taper off qubits and reduce terms in a Hamiltonian using stabilizer conditions, add test module for these functions, update init file to import them

* updated documentation

* Move qubit tapering to utils, update documentation, variable names and some small changes

* Typo correction

* Remove transformation init, update utils init, adding functions in alphabetic order, update changes as requested in the revision

* fixed some docs

* Change import in test module

* Update test module after changing mutables to None

* Solving python2.7 compatibility in test module

* Reverse changes in test after CI failure

* Solving python2.7 failure in CI

* Attempt to fix CI test failure

* Solve issue with customize errors in python2

* Add test to increase coverage

* Add test to cover all functions, remove unnecessary variables in functs

* Try again after CI failed

* Increase test module

* CI randomly fails

* Update test module to fulfill coverage
  • Loading branch information...
xabomon authored and ncrubin committed Jun 5, 2019
1 parent 64cbd43 commit 188d54ea7e1358e79d0f7213670215250ada1f63
@@ -35,6 +35,9 @@
load_operator, save_operator,
group_into_tensor_product_basis_sets)

from ._qubit_tapering_from_stabilizer import (reduce_number_of_terms,
taper_off_qubits)

from ._rdm_mapping_functions import (kronecker_delta,
map_two_pdm_to_two_hole_dm,
map_two_pdm_to_one_pdm,

0 comments on commit 188d54e

Please sign in to comment.
You can’t perform that action at this time.