use the isapprox implemented here: https://github.com/QuantumBFS/OpenQASM.jl/blob/master/test/runtests.jl#L325 the printing doesn't guarantee equivalence https://github.com/QuantumBFS/YaoBlocksQASM.jl/blob/6854da5f8a68b501ea03e07bd408d76997c5088a/test/runtests.jl#L53