mirror of
https://gitlab.com/scemama/QCaml.git
synced 2024-08-30 16:23:41 +02:00
17 lines
326 B
OCaml
17 lines
326 B
OCaml
(** Contains the conventions relative to the program.
|
|
|
|
The phase convention is given by:
|
|
{% $\sum_i c_i > 0$ %} or {% $\min_i c_i \ge 0$ %}
|
|
|
|
*)
|
|
|
|
open Lacaml.D
|
|
|
|
|
|
val in_phase : Vec.t -> bool
|
|
(** Checks if one MO respects the phase convention *)
|
|
|
|
val rephase : Mat.t -> Mat.t
|
|
(** Apply the phase convention to the MOs. *)
|
|
|