Boost

Boost

Boost is an optimization module that offers many functions for optimization.

controlled_U1(num_bit::Int, gate::AbstractMatrix, cbits::Vector{Int}, b2::Int) -> AbstractMatrix

Return general multi-controlled single qubit gate in hilbert space of num_bit qubits.

  • cbits specify the controling positions.
  • b2 is the controlled position.
Yao.Boost.cxgateMethod.
cxgate(::Type{MT}, num_bit::Int, b1::Ints, b2::Ints) -> PermMatrix

Single (Multiple) Controlled-X Gate on single (multiple) bits.

Yao.Boost.cygateMethod.
cygate(::Type{MT}, num_bit::Int, b1::Int, b2::Int) -> PermMatrix

Single Controlled-Y Gate on single bit.

Yao.Boost.xgateMethod.
xgate(::Type{MT}, num_bit::Int, bits::Ints) -> PermMatrix

X Gate on multiple bits.

Yao.Boost.ygateMethod.
ygate(::Type{MT}, num_bit::Int, bits::Ints) -> PermMatrix

Y Gate on multiple bits.

Yao.Boost.zgateMethod.
zgate(::Type{MT}, num_bit::Int, bits::Ints) -> Diagonal

Z Gate on multiple bits.