AdcBlockView

class adcc.AdcBlockView(fullmatrix, block)

Bases: adcc.AdcMatrix.AdcMatrixlike

Attributes Summary

blocks

shape

Methods Summary

block_spaces(self, arg0)

compute_apply(self, block, in, out)

compute_matvec(in_ampl[, out_ampl])

Compute the matrix-vector product of the ADC matrix with an excitation amplitude and return the result in the out_ampl if it is given, else the result will be returned.

diagonal(self, arg0)

has_block(self, arg0)

Attributes Documentation

blocks
shape

Methods Documentation

block_spaces(self: libadcc.AdcMatrix, arg0: str) → List[str]
compute_apply(self: libadcc.AdcMatrix, block: str, in: libadcc.Tensor, out: libadcc.Tensor) → None
compute_matvec(in_ampl, out_ampl=None)

Compute the matrix-vector product of the ADC matrix with an excitation amplitude and return the result in the out_ampl if it is given, else the result will be returned.

diagonal(self: libadcc.AdcMatrix, arg0: str)libadcc.Tensor
has_block(self: libadcc.AdcMatrix, arg0: str) → bool