AmplitudeVector¶
-
class
adcc.
AmplitudeVector
(*args, **kwargs)¶ Bases:
dict
Attributes Summary
blocks
blocks_ph
Return the blocks which are used inside the vector.
Methods Summary
copy
()Return a copy of the AmplitudeVector
dot
(other)Return the dot product with another AmplitudeVector or the dot products with a list of AmplitudeVectors.
empty_like
()Return an empty AmplitudeVector of the same shape and symmetry
evaluate
()nosym_like
()Return an empty AmplitudeVector of the same shape and symmetry
ones_like
()Return an empty AmplitudeVector of the same shape and symmetry
set_random
()zeros_like
()Return an AmplitudeVector of the same shape and symmetry with all elements set to zero
Attributes Documentation
-
blocks
¶
-
blocks_ph
¶ Return the blocks which are used inside the vector. Note: This is a temporary name. The attribute will be removed in 0.16.0.
Methods Documentation
-
copy
()¶ Return a copy of the AmplitudeVector
-
dot
(other)¶ Return the dot product with another AmplitudeVector or the dot products with a list of AmplitudeVectors. In the latter case a np.ndarray is returned.
-
empty_like
()¶ Return an empty AmplitudeVector of the same shape and symmetry
-
evaluate
()¶
-
nosym_like
()¶ Return an empty AmplitudeVector of the same shape and symmetry
-
ones_like
()¶ Return an empty AmplitudeVector of the same shape and symmetry
-
set_random
()¶
-
zeros_like
()¶ Return an AmplitudeVector of the same shape and symmetry with all elements set to zero
-