Skip to content

Commit a1f1210

Browse files
committed
Link the to_qasm3 implementation
1 parent 1f01af5 commit a1f1210

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

src/circuit/quantumcircuit_impl.hpp

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

3030
#include "controlflow/__init__.hpp"
31-
31+
#include "circuit/qasm3_exporter.hpp"
3232
namespace Qiskit {
3333
namespace circuit {
3434

@@ -60,4 +60,9 @@ inline void QuantumCircuit::add_pending_control_flow_op(void)
6060
}
6161
}
6262

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

0 commit comments

Comments
 (0)