char_vec: a length2nvector with elements in theZ/(2p)ifchracteristic(field(C1))is 2 andZ/(p)otherwise. The firstnelements specify the exponents of theXphases and secondnthe exponents of theZphases; a missing argument will be set to the all-zero vector
Notes
- A 
+1phase should be entered as0since the character vector stores the exponents. - Stabilizer signs are automatically computed given the character vector.
 - The orthogonality of the stabilizers are automatically checked and will error upon failure.
 
assumed to be in symplectic form over the base field.
- This is intended to be a simple function wrapper for 
typeof(S)since the 
constructor for SubsystemCode automatically returns a SubsystemCodeCSS if possible.  Manually changing the elements of the struct S without using the helper  functions provided here is therefore not recommended.