Skip to main contentIBM Quantum Documentation

AncillaQubit

qiskit.circuit.AncillaQubit(register=None, index=None)GitHub(opens in a new tab)

Bases: Qubit

A qubit used as ancillary qubit.

Creates a qubit.

Parameters

Raises

CircuitError – if the provided register is not a valid QuantumRegister

Was this page helpful?