scqubits.core.operators.a_plus_adag_sparse¶
- scqubits.core.operators.a_plus_adag_sparse(dimension, prefactor=None)[source]¶
Operator matrix for prefactor(\(a+a^\dagger\)) of size dimension x dimension in sparse matrix representation.
- Parameters:
- Return type:
- Returns:
prefactor * (\(a+a^\dagger\)) as sparse operator matrix, size dimension x dimension