scqubits.core.circuit_utils.sawtooth_operator# scqubits.core.circuit_utils.sawtooth_operator(x)[source]# Returns the operator evaluated using applying the sawtooth_potential function on the diagonal elements of the operator x Parameters: x (Union[ndarray, csc_matrix]) – argument of the sawtooth operator in the Hamiltonian