Skip to content

Commit 4d6d180

Browse files
committed
Link the to_qasm3 implementation
1 parent a938519 commit 4d6d180

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/circuit/quantumcircuit_impl.hpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
#include <cassert>
2929

3030
#include "controlflow/__init__.hpp"
31+
#include "circuit/qasm3_exporter.hpp"
3132

3233
namespace Qiskit {
3334
namespace circuit {
@@ -60,4 +61,9 @@ inline void QuantumCircuit::add_pending_control_flow_op(void)
6061
}
6162
}
6263

64+
inline std::string QuantumCircuit::to_qasm3(void)
65+
{
66+
return to_qasm3(*this);
67+
}
68+
6369
#endif // __qiskitcpp_circuit_quantum_circuit_impl_hpp__

0 commit comments

Comments
 (0)