Qubit#

class Qubit(hamiltonian, t1=None, temp=None, t2star=None)[source]#

Bases: object

A system representing a qubit. It allows storing information about relaxation and dephasing times and getting the corresponding jump operators.

__init__(hamiltonian, t1=None, temp=None, t2star=None)[source]#
Parameters:
  • hamiltonian (QubitHamiltonian) – The Hamiltonian of the qubit.

  • t1 (Quantity | None) – Energy relaxation time.

  • temp (Quantity | None) – Temperature of the qubit.

  • t2star (Quantity | None) – Dephasing time.

Methods

__init__(hamiltonian[, t1, temp, t2star])

get_decay_rates()

Return decay rate for T1, T2star and Temp respectively.

get_jump_operators()

Return a list of jump operators for the qubit.

get_decay_rates()[source]#

Return decay rate for T1, T2star and Temp respectively.

get_jump_operators()[source]#

Return a list of jump operators for the qubit.