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

29 lines
831 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_dag
description: API reference for qiskit.converters.dagdependency_to_dag
in_page_toc_min_heading_level: 1
python_api_type: function
python_api_name: qiskit.converters.dagdependency_to_dag
---
<span id="qiskit-converters-dagdependency-to-dag" />
# qiskit.converters.dagdependency\_to\_dag
<Function id="qiskit.converters.dagdependency_to_dag" isDedicatedPage={true} github="https://github.com/qiskit/qiskit/tree/stable/0.24/qiskit/converters/dagdependency_to_dag.py" signature="dagdependency_to_dag(dagdependency)">
Build a `DAGCircuit` object from a `DAGDependency`.
**Parameters**
**dependency** (*dag*) the input dag.
**Returns**
the DAG representing the input circuit.
**Return type**
[DAGCircuit](qiskit.dagcircuit.DAGCircuit "qiskit.dagcircuit.DAGCircuit")
</Function>