Main Content

이 번역 페이지는 최신 내용을 담고 있지 않습니다. 최신 내용을 영문으로 보려면 여기를 클릭하십시오.

양자 게이트의 유형

참고

설치 필요: 이 기능을 사용하려면 MATLAB Support Package for Quantum Computing이 있어야 합니다.

이 항목에는 MATLAB®에서 양자 게이트를 만드는 데 사용할 수 있는 목록 함수가 나와 있습니다. 양자 게이트는 가역적이며 유니타리 행렬 표현을 갖습니다.

SimpleGate 객체에 대한 생성 함수

하나의 타깃 큐비트에 대한 게이트

생성 함수게이트 이름큐비트 개수행렬 표현속성
Symbol of Hadamard gatehGate 아다마르 게이트112[1111]
  • 대각합 0 (Traceless)

  • 대합 행렬 (Involutory)

Symbol of identity gateidGate항등 게이트1[1001]
  • 단위 행렬

  • 대합 행렬

Symbol of Pauli X gatexGate파울리 X 게이트1[0110]
  • 대각합 0

  • 대합 행렬

  • 파울리 그룹

Symbol of Pauli Y gateyGate파울리 Y 게이트1[0ii0]
  • 대각합 0

  • 대합 행렬

  • 파울리 그룹

Symbol of Pauli Z gatezGate파울리 Z 게이트1[1001]
  • 대각합 0

  • 대합 행렬

  • 파울리 그룹

회전 게이트

생성 함수게이트 이름큐비트 개수행렬 표현속성
Symbol of x-axis rotation gaterxGatex축 회전 게이트1[cos(θ2)isin(θ2)isin(θ2)cos(θ2)]
  • 특수 유니타리(행렬식은 1임)

  • 기간 4π를 갖는 연속 파라미터 θ

Symbol of y-axis rotation gateryGatey축 회전 게이트1[cos(θ2)sin(θ2)sin(θ2)cos(θ2)]
  • 특수 유니타리(행렬식은 1임)

  • 기간 4π를 갖는 연속 파라미터 θ

Symbol of z-axis rotation gaterzGatez축 회전 게이트1[exp(iθ2)00exp(iθ2)]
  • 특수 유니타리(행렬식은 1임)

  • 기간 4π를 갖는 연속 파라미터 θ

Symbol of R1 gater1Gate전역 위상을 갖는 z축 회전 게이트1[100exp(iθ)]
  • 기간 2π를 갖는 연속 파라미터 θ

Symbol of S gatesGateS 게이트1[100i] 
Symbol of inverse S gatesiGate역 S 게이트1[100i] 
Symbol of T gatetGateT 게이트1[1001+i2] 
Symbol of inverse T gatetiGate역 T 게이트1[1001i2] 

하나의 제어 큐비트와 하나의 타깃 큐비트가 있는 게이트

생성 함수게이트 이름큐비트 개수행렬 표현속성
Symbol of controlled Hadamard gatechGate 제어 아다마르 게이트2[10000100001212001212]
  • 대합 행렬

Symbol of controlled X gatecxGate 또는 cnotGate

제어 X 또는 CNOT 게이트2[1000010000010010]
  • 대합 행렬

Symbol of controlled Y gatecyGate제어 Y 게이트2[10000100000i00i0]
  • 대합 행렬

Symbol of controlled Z gateczGate제어 Z 게이트2[1000010000100001]
  • 대합 행렬

  • 제어 큐비트와 타깃 큐비트를 교환해도 게이트 연산은 변경되지 않음

두 개의 큐비트의 상태를 맞바꾸는 게이트

생성 함수게이트 이름큐비트 개수행렬 표현속성
Symbol of swap gateswapGate스왑 게이트2[1000001001000001]
  • 대합 행렬

  • 두 개의 타깃 큐비트를 교환해도 게이트 연산은 변경되지 않음

제어 회전 게이트

생성 함수게이트 이름큐비트 개수행렬 표현속성
Symbol of controlled x-axis rotation gatecrxGate제어 x축 회전 게이트2[1000010000cos(θ2)isin(θ2)00isin(θ2)cos(θ2)]
  • 기간 4π를 갖는 연속 파라미터 θ

Symbol of controlled y-axis rotation gatecryGate제어 y축 회전 게이트2[1000010000cos(θ2)sin(θ2)00sin(θ2)cos(θ2)]
  • 기간 4π를 갖는 연속 파라미터 θ

Symbol of controlled z-axis rotation gatecrzGate제어 z축 회전 게이트2[1000010000exp(iθ2)0000exp(iθ2)]
  • 기간 4π를 갖는 연속 파라미터 θ

Symbol of controlled R1 gatecr1Gate전역 위상을 갖는 제어 z축 회전 게이트2[100001000010000exp(iθ)]
  • 기간 2π를 갖는 연속 파라미터 θ

  • 제어 큐비트와 타깃 큐비트를 교환해도 게이트 연산은 변경되지 않음

제어-제어 X 게이트

생성 함수게이트 이름큐비트 개수행렬 표현속성
Symbol of CCNOT gateccxGate제어-제어 X 게이트(CCNOT 또는 토폴리 게이트)3[1000000001000000001000000001000000001000000001000000000100000010]
  • 대합 행렬

  • 두 개의 제어 큐비트를 교환해도 게이트 연산은 변경되지 않음

Ising 결합 게이트

생성 함수게이트 이름큐비트 개수행렬 표현속성
Symbol of RXX gaterxxGateIsing XX 결합 게이트2[cos(θ2)00isin(θ2)0cos(θ2)isin(θ2)00isin(θ2)cos(θ2)0isin(θ2)00cos(θ2)]
  • 특수 유니타리(행렬식은 1임)

  • 기간 4π를 갖는 연속 파라미터 θ

  • 두 개의 타깃 큐비트를 교환해도 게이트 연산은 변경되지 않음

Symbol of RYY gateryyGateIsing YY 결합 게이트2[cos(θ2)00isin(θ2)0cos(θ2)isin(θ2)00isin(θ2)cos(θ2)0isin(θ2)00cos(θ2)]
  • 특수 유니타리(행렬식은 1임)

  • 기간 4π를 갖는 연속 파라미터 θ

  • 두 개의 타깃 큐비트를 교환해도 게이트 연산은 변경되지 않음

Symbol of RZZ gaterzzGateIsing ZZ 결합 게이트2[exp(iθ2)0000exp(iθ2)0000exp(iθ2)0000exp(iθ2)]
  • 특수 유니타리(행렬식은 1임)

  • 기간 4π를 갖는 연속 파라미터 θ

  • 두 개의 타깃 큐비트를 교환해도 게이트 연산은 변경되지 않음

CompositeGate 객체에 대한 생성 함수

복합적이고 특수한 게이트

생성 함수게이트 이름큐비트 개수게이트 기호등가 내부 게이트행렬 표현
compositeGate복합 게이트각각 다름

: "bell"이라는 이름의 복합 게이트가 두 개 있는 양자 회로입니다. 각 복합 게이트의 등가 내부 게이트는 아다마르 게이트와 제어 X 게이트입니다.

Symbol of two composite gates named bellEquivalent internal gates for the two composite gates named bell

12[1010101001010101010101011010101010101010010101010101010110101010]

qftGate양자 푸리에 변환(QFT) 게이트각각 다름

: 3개의 큐비트에 대한 양자 푸리에 변환 게이트입니다. 등가 내부 게이트는 아다마르 게이트, R1 게이트, 교환 게이트입니다.

Symbol of QFT gate applied to three qubitsEquivalent internal gates for the QFT gate applied to three qubits

18[111111111ωω2ω3ω4ω5ω6ω71ω2ω4ω61ω2ω4ω61ω3ω6ωω4ω7ω2ω51ω41ω41ω41ω41ω5ω2ω7ω4ωω6ω31ω6ω4ω21ω6ω4ω21ω7ω6ω5ω4ω3ω2ω]whereω=exp(2πi8)

mcxGate다중 제어 X 게이트각각 다름

: 3개의 제어 큐비트와 1개의 타깃 큐비트가 있고 보조 큐비트가 없는 다중 제어 X 게이트입니다. 등가 내부 게이트는 아다마르 게이트, 제어 R1 게이트, 제어 X 게이트입니다.

Symbol of multi-controlled X gate with three control qubits, one target qubit, and no ancilla qubitEquivalent internal gates for the multi-controlled X gate with three control qubits, one target qubit, and no ancilla qubi

[100000001000000000000001000000010000000010000010]

참고 항목

|

관련 항목