Shortcuts

qiskit.circuit.AncillaRegister

class AncillaRegister(size, name=None)[source]

Implement an ancilla register.

Create a new generic register.

__init__(size, name=None)

Create a new generic register.

Methods

__init__(size[, name])

Create a new generic register.

qasm()

Return OPENQASM string for this register.

Attributes

instances_counter

name

Get the register name.

prefix

size

Get the register size.

bit_type

alias of AncillaQubit

property name

Get the register name.

qasm()

Return OPENQASM string for this register.

property size

Get the register size.

You are viewing lang: English
Languages
English
Japanese
German
Korean