What should we add?
We currently have no way of representing an integer for a Param in terms of dt without using Python.
We have gone back and forth about coming up with ideas to best represent this, including implementing a new variant Param::Int, a new system for numeric parameters Param::Numeric({Int(i32), Float(f64), Complex(Complex64)}), etc. However, a solution for this might be more intricate than expected due to historical significance of how parameters are used in Qiskit.
In the end, It is important for us to have a way of representing dt units directly from rust to remove this python dependency.
Related issue: #16121
What should we add?
We currently have no way of representing an integer for a
Paramin terms ofdtwithout using Python.We have gone back and forth about coming up with ideas to best represent this, including implementing a new variant
Param::Int, a new system for numeric parametersParam::Numeric({Int(i32), Float(f64), Complex(Complex64)}), etc. However, a solution for this might be more intricate than expected due to historical significance of how parameters are used in Qiskit.In the end, It is important for us to have a way of representing
dtunits directly from rust to remove this python dependency.Related issue: #16121