Korean
Languages
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

Clbit

class Clbit(register=None, index=None)[소스]

기반 클래스: Bit

Implement a classical bit.

Creates a classical bit.

매개변수
  • register (ClassicalRegister) – Optional. A classical register containing the bit.

  • index (int) – Optional. The index of the bit in its containing register.

예외 발생

CircuitError – if the provided register is not a valid ClassicalRegister

Attributes

index

Get bit’s index.

register

Get bit’s register.