Spanish
Idiomas
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.transpiler.passes.FullAncillaAllocation.run

FullAncillaAllocation.run(dag)[fuente]

Run the FullAncillaAllocation pass on dag.

Extend the layout with new (physical qubit, virtual qubit) pairs. The dag signals which virtual qubits are already in the circuit. This pass will allocate new virtual qubits such that no collision occurs (i.e. Layout bijectivity is preserved)

The coupling_map and layout together determine which physical qubits are free.

Parámetros

dag (DAGCircuit) – circuit to analyze

Devuelve

returns the same dag circuit, unmodified

Tipo del valor devuelto

DAGCircuit

Muestra

TranspilerError – If there is not layout in the property set or not set at init time.