InPlaceMajority operation

Warning

This documentation refers to the Classic QDK, which has been replaced by the Modern QDK.

Please see https://aka.ms/qdk.api for the API documentation for the Modern QDK.

Namespace: Microsoft.Quantum.Canon

Package: Microsoft.Quantum.Standard

Warning

InPlaceMajority has been deprecated. Please use ApplyMajorityInPlace operation instead.

Please use ApplyMajorityInPlace operation.

operation InPlaceMajority (output : Qubit, input : Qubit[]) : Unit is Adj + Ctl

Input

output : Qubit

input : Qubit[]

Output : Unit