SparsityOracle

About the SparsityOracle 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

Inheritance diagram of SparsityOracle

Class documentation

class WaveBlocksND.SparsityOracle[source]

This class defines the interface for general sparsity oracles.

is_not_zero(pacbra, packet, component=None)[source]

Try to estimate if the overlap integral between the two given packets 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.
Raise:

NotImplementedError Abstract interface.