qiskit.circuit.QuantumRegister.qasm¶
- QuantumRegister.qasm()[fuente]¶
Return OPENQASM string for this register.
Obsoleto desde la versión 0.23.0: The method
qiskit.circuit.quantumregister.QuantumRegister.qasm()
is deprecated as of qiskit-terra 0.23.0. It will be removed no earlier than 3 months after the release date. Correct exporting to OpenQASM 2 is the responsibility of a larger exporter; it cannot safely be done on an object-by-object basis without context. No replacement will be provided, because the premise is wrong.