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