English
Languages
English
Japanese
German
Korean
Portuguese, Brazilian
French
Shortcuts

Circuit Converters (qiskit.converters)

circuit_to_dag(circuit)

Build a DAGCircuit object from a QuantumCircuit.

dag_to_circuit(dag)

Build a QuantumCircuit object from a DAGCircuit.

circuit_to_instruction(circuit[, …])

Build an Instruction object from a QuantumCircuit.

circuit_to_gate(circuit[, parameter_map, …])

Build a Gate object from a QuantumCircuit.

ast_to_dag(ast)

Build a DAGCircuit object from an AST Node object.

dagdependency_to_circuit(dagdependency)

Build a QuantumCircuit object from a DAGDependency.

circuit_to_dagdependency(circuit)

Build a DAGDependency object from a QuantumCircuit.

dag_to_dagdependency(dag)

Build a DAGDependency object from a DAGCircuit.

dagdependency_to_dag(dagdependency)

Build a DAGCircuit object from a DAGDependency.