Skip to content
Snippets Groups Projects
Commit bb2c4aff authored by Clemens Giuliani's avatar Clemens Giuliani Committed by Filippo Vicentini
Browse files

support pytrees as diag_shift (#1135)

* support pytrees as diag_shift

* add test

* adapt test for dense and pytree
(problem is finding the correct shape of shift when e.g. doing real-imag 
split; ideally we should convert it in the constructor of the qgt)

* black

* isinstance instead of checking attr
parent 24989bf4
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment