scqubits.core.sweeps.dressed_matrixelement#
- scqubits.core.sweeps.dressed_matrixelement(sweep, paramindex_tuple, paramvals_tuple, operator)[source]#
Given parameter sweep data, compute and return a matrix element table using the dressed states of the composite Hilbert space.
- Parameters:
sweep (
ParameterSweep
) – ParameterSweep object to be used for the computationparamindex_tuple (
Tuple
[int
,...
]) – a complete set of parameter indices (i.e. a single point in the multi-dim parameter space)paramvals_tuple (
Tuple
[float
,...
]) – [not used, but required by generator interface]operator (
Qobj
) – given as Qobj, valid operator in the full Hilbert space
- Return type:
ndarray
- Returns:
ndarray of matrix elements, in general complex-valued; shape: square array of size set by the truncated_dim of the subsystem