1. 04 12月, 2020 2 次提交
    • C
      Make transpose, trace, kron, reshape, sum op support complex type (#29321) · 879e913b
      chentianyu03 提交于
      * add complex64 and complex128 type; add +-*/@ and slice opreator for complex types
      
      * add test cases for complex elementwise, matmul and getitem unittest
      
      * add test cases for complex types
      
      * add test cases for complex matmul unittest
      
      * kron, reshape, transpose support complex types
      
      * sum and trace op support complex types
      
      * add test case of sum and trace op
      
      * fix the bug of imag part of complex not initialized
      
      * format file
      
      * format code style
      
      * kron support type promotion; modify test cases
      879e913b
    • C
      Support type promote for basic math ops (quantum required) (#29265) · 9ad800eb
      Chen Weihang 提交于
      * basic impl of type promote
      
      * add comment & another testcase
      
      * fix complex bugs & support python op promote type
      
      * fix failed unittests & polish code
      
      * add unittest for coverage
      
      * change to only promote complex type
      
      * polish code details
      
      * polish several comments
      9ad800eb
  2. 01 12月, 2020 1 次提交