SparsityOracleTrue¶
About the SparsityOracleTrue
class¶
The WaveBlocks Project
@author: R. Bourquin @copyright: Copyright (C) 2010, 2011, 2012, 2013, 2014, 2015, 2016 R. Bourquin @license: Modified BSD License
Inheritance diagram¶
Class documentation¶
-
class
WaveBlocksND.
SparsityOracleTrue
[source]¶ This class implements an oracle always saying the integrals are non-zero.
-
__init__
()[source]¶ Initialize an oracle for estimating if a specific overlap integral is approximately zero. This oracle always returns
False
.
-
is_not_zero
(pacbra, packet, component=None)[source]¶ Try to estimate if the overlap integral is zero or at least negligible.
Parameters: - pacbra – The packet that is used for the ‘bra’ part.
- packet – The packet that is used for the ‘ket’ part.
- component – The component of the packet that is considered.
Returns: True
independent of any input or condition.
-