Portuguese, Brazilian
Idiomas
English
Japanese
German
Korean
Portuguese, Brazilian
French
Shortcuts

qiskit.circuit.AncillaQubit

class AncillaQubit(register, index)[código fonte]

A qubit used as ancillary qubit.

Creates a qubit.

Parâmetros
  • register (QuantumRegister) – a quantum register.

  • index (int) – the index to insert the qubit

Levanta

CircuitError – if the provided register is not a valid QuantumRegister

__init__(register, index)

Creates a qubit.

Parâmetros
  • register (QuantumRegister) – a quantum register.

  • index (int) – the index to insert the qubit

Levanta

CircuitError – if the provided register is not a valid QuantumRegister

Methods

__init__(register, index)

Creates a qubit.

Attributes

index

Get bit’s index.

register

Get bit’s register.

property index

Get bit’s index.

property register

Get bit’s register.