Korean
Languages
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

AncillaQubit

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

기반 클래스: Qubit

A qubit used as ancillary qubit.

Creates a qubit.

매개변수
  • register (QuantumRegister) – Optional. A quantum 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 QuantumRegister

Attributes

index

Get bit’s index.

register

Get bit’s register.