SHARE
TWEET

Untitled

a guest Feb 17th, 2019 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. someResult =
  2.     I (I + Sqrt[3]) *
  3.     ("C4cD_uuuu_g5.p001.d000_g5.p011.d000_g5.p110.d000_g5.p100.d000" -
  4.      "C4cD_uuuu_g5.p001.d000_g5.p100.d000_g5.p110.d000_g5.p011.d000" -
  5.      "C4cD_uuuu_g5.p110.d000_g5.p011.d000_g5.p001.d000_g5.p100.d000" +
  6.      "C4cD_uuuu_g5.p110.d000_g5.p100.d000_g5.p001.d000_g5.p011.d000" +
  7.      "C4cV_uuuu_g5.p000.d000_g5.p011.d000_g5.p001.d000_g5.p110.d000");
  8.    
  9. <|"C4cD_uuuu_g5.p001.d000_g5.p011.d000_g5.p110.d000_g5.p100.d000" ->
  10.   I (I + Sqrt[3]),
  11.   …|>
  12.    
  13. FullSimplify[someResult] /. {str_String :> Association[str -> 1]}
  14.    
  15. I (I + Sqrt[3]) (
  16.     <|"C4cD_uuuu_g5.p001.d000_g5.p011.d000_g5.p110.d000_g5.p100.d000" -> 1|> +
  17.     <|"C4cD_uuuu_g5.p001.d000_g5.p100.d000_g5.p110.d000_g5.p011.d000" -> -1|> +
  18.     <|"C4cD_uuuu_g5.p110.d000_g5.p011.d000_g5.p001.d000_g5.p100.d000" -> -1|> +
  19.     <|"C4cD_uuuu_g5.p110.d000_g5.p100.d000_g5.p001.d000_g5.p011.d000" -> 1|> +
  20.     <|"C4cV_uuuu_g5.p.d000_g5.p011.d000_g5.p001.d000_g5.p110.d000" -> 1|>)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top