Skip to content

Latest commit

 

History

History
72 lines (47 loc) · 2.18 KB

microsoft.quantum.canon.conjugatedbya.md

File metadata and controls

72 lines (47 loc) · 2.18 KB
uid title ms.date ms.topic qsharp.kind qsharp.namespace qsharp.name qsharp.summary
Microsoft.Quantum.Canon.ConjugatedByA
ConjugatedByA function
7/28/2023 12:00:00 AM
managed-reference
function
Microsoft.Quantum.Canon
ConjugatedByA
Given outer and inner operations, returns a new operation that conjugates the inner operation by the outer operation.

ConjugatedByA function

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

Given outer and inner operations, returns a new operation that conjugates the inner operation by the outer operation.

function ConjugatedByA<'T> (outerOperation : ('T => Unit is Adj), innerOperation : ('T => Unit is Adj)) : ('T => Unit is Adj)

Input

outerOperation : 'T => Unit is Adj

The operation $U$ that should be used to conjugate $V$. Note that the outer operation $U$ needs to be adjointable, but does not need to be controllable.

innerOperation : 'T => Unit is Adj

The operation $V$ being conjugated.

Output : 'T => Unit is Adj

A new operation whose action is represented by the unitary $U^{\dagger} V U$.

Type Parameters

'T

The type of the target on which each of the inner and outer operations act.

Remarks

The outer operation is always assumed to be adjointable, but does not need to be controllable in order for the combined operation to be controllable.

See Also

  • Microsoft.Quantum.Canon.ConjugatedByA
  • Microsoft.Quantum.Canon.ConjugatedByC
  • Microsoft.Quantum.Canon.ConjugatedByCA
  • Microsoft.Quantum.Canon.ApplyWith