UchannelLO#

class qiskit.providers.models.UchannelLO(q, scale)[ソース]#

ベースクラス: object

Class representing a U Channel LO

q#

Qubit that scale corresponds too.

scale#

Scale factor for qubit frequency.

Initialize a UchannelLOSchema object

パラメータ:
  • q (int) – Qubit that scale corresponds too. Must be >= 0.

  • scale (complex) – Scale factor for qubit frequency.

例外:

QiskitError – If q is < 0

Methods

classmethod from_dict(data)[ソース]#

Create a new UchannelLO object from a dictionary.

パラメータ:

data (dict) – A dictionary representing the UChannelLO to create. It will be in the same format as output by to_dict().

戻り値:

The UchannelLO from the input dictionary.

戻り値の型:

UchannelLO

to_dict()[ソース]#

Return a dictionary format representation of the UChannelLO.

戻り値:

The dictionary form of the UChannelLO.

戻り値の型:

dict