We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1953bac commit be5de0fCopy full SHA for be5de0f
src/gates/orbital_rotation.rs
@@ -46,6 +46,8 @@ pub fn apply_givens_rotation_in_place(
46
match row_i.as_slice_mut() {
47
Some(row_i) => match row_j.as_slice_mut() {
48
Some(row_j) => unsafe {
49
+ // Use zdrot and zscal because zrot is not currently available
50
+ // See https://github.com/qiskit-community/ffsim/issues/28
51
zscal(dim_b, phase_conj, row_i, 1);
52
zdrot(dim_b, row_i, 1, row_j, 1, c, s_abs);
53
zscal(dim_b, phase, row_i, 1);
0 commit comments