Hi Paul,
thanks for your very quick answer (as usual!)
Unfortunately for this specific case I probably need to explicit calculate the inverse. In case you have access to PRL, what I'm trying to do is to costruct the operator Q_j defined in eq. 9 of this paper
http://journals.aps.org/prl/abstract/10.1103/PhysRevLett.76.1055 , which means that I need to calculate the operator 1/sqrt(a.dag()* a) , where a is the annihilation operator of a harmonic oscillator.
I was wondering: is there a way to convert an operator to a regular matrix, and then to convert a matrix to an operator? In this way, I could just calculate the inverse of the matrix and then convert it to an operator.
Michele