---
title: UchannelLO (v0.46)
description: API reference for qiskit.providers.models.UchannelLO in qiskit v0.46
source: https://eu-de.quantum.cloud.ibm.com/docs/en/api/qiskit/0.46/qiskit.providers.models.UchannelLO
---

# UchannelLO

*class* `qiskit.providers.models.UchannelLO(q, scale)`

[GitHub](https://github.com/qiskit/qiskit/tree/stable/0.46/qiskit/providers/models/backendconfiguration.py)

Bases: [`object`](https://docs.python.org/3/library/functions.html#object)

Class representing a U Channel LO

### q

Qubit that scale corresponds too.

### scale

Scale factor for qubit frequency.

Initialize a UchannelLOSchema object

**Parameters**

- **q** ([*int*](https://docs.python.org/3/library/functions.html#int)) – Qubit that scale corresponds too. Must be >= 0.
- **scale** ([*complex*](https://docs.python.org/3/library/functions.html#complex)) – Scale factor for qubit frequency.

**Raises**

[**QiskitError**](/docs/api/qiskit/0.46/exceptions#qiskit.exceptions.QiskitError "qiskit.exceptions.QiskitError") – If q is \< 0

## Methods

### from\_dict

*classmethod* `from_dict(data)`

Create a new UchannelLO object from a dictionary.

**Parameters**

**data** ([*dict*](https://docs.python.org/3/library/stdtypes.html#dict)) – A dictionary representing the UChannelLO to create. It will be in the same format as output by [`to_dict()`](#qiskit.providers.models.UchannelLO.to_dict "qiskit.providers.models.UchannelLO.to_dict").

**Returns**

The UchannelLO from the input dictionary.

**Return type**

[UchannelLO](#qiskit.providers.models.UchannelLO "qiskit.providers.models.UchannelLO")

### to\_dict

`to_dict()`

Return a dictionary format representation of the UChannelLO.

**Returns**

The dictionary form of the UChannelLO.

**Return type**

[dict](https://docs.python.org/3/library/stdtypes.html#dict)
