v1.6.0
Breaking Changes
- Quantum circuit RZZ definition corrected (angle changed by -1/2 to match qiskit).
Enhancements:
- add OpenQASM 2.0 parsing support: :meth:
Circuit.from_openqasm2_file
- :class:
Circuit
: add RXX, RYY, CRX, CRY, CRZ, toffoli, fredkin, givens gates - truncate TN pretty html reprentation to 100 tensors for performance
- add :meth:
Tensor.sum_reduce
and :meth:Tensor.vector_reduce
- :meth:
contract_compressed
, default to 'virtual-tree' gauge - add :func:
TN_rand_tree
experimental.operatorbuilder
: fix parallel and heisenberg builder- make parametrized gate generation even more robost (ensure matching types so e.g. tensorflow can be used)
Bug fixes:
- fix gauge size check for some backends
Full Changelog: v1.5.1...v1.6.0