qiskit-documentation/docs/api/qiskit/0.31/qiskit.converters.dagdepend...

29 lines
990 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: dagdependency_to_circuit (v0.31)
description: API reference for qiskit.converters.dagdependency_to_circuit in qiskit v0.31
in_page_toc_min_heading_level: 1
python_api_type: function
python_api_name: qiskit.converters.dagdependency_to_circuit
---
<span id="qiskit-converters-dagdependency-to-circuit" />
# qiskit.converters.dagdependency\_to\_circuit
<Function id="qiskit.converters.dagdependency_to_circuit" isDedicatedPage={true} github="https://github.com/qiskit/qiskit/tree/stable/0.18/qiskit/converters/dagdependency_to_circuit.py" signature="dagdependency_to_circuit(dagdependency)">
Build a `QuantumCircuit` object from a `DAGDependency`.
**Parameters**
**dagdependency** ([*DAGDependency*](qiskit.dagcircuit.DAGDependency "qiskit.dagcircuit.DAGDependency")) the input dag.
**Returns**
the circuit representing the input dag dependency.
**Return type**
[QuantumCircuit](qiskit.circuit.QuantumCircuit "qiskit.circuit.QuantumCircuit")
</Function>