Function state::__attribute__

Function Documentation

CPPCTYPE state::__attribute__((visibility("default"))) const

Calculate inner product between quantum states

Return

Value of inner product

Parameters
  • [in] state_bra: Bra side quantum state of inner product

  • [in] state_ket: Ket side quantum state of inner product