Hcpb.n_ij

Hcpb.n_ij(i: int, j: int)[source]

Compute the value of the number operator for coupling elements together in the energy eigen-basis.

Parameters:
  • i (int) – |i> Index of the transmon

  • j (int) – |j> Index of the transmon

Returns:

Matrix element corresponding to the number operator in the transmon basis n_ij = |<i|n|j>|

Return type:

float