Action1C 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.Synthesis

Package: Microsoft.Quantum.Standard

Returns the action by conjugation of a single-qubit Clifford operator on a single-qubit Pauli operator.

function Action1C (op : Microsoft.Quantum.Synthesis.SingleQubitClifford, pauli : Pauli) : Pauli

Input

op : SingleQubitClifford

The single-qubit Clifford operator to conjugate by.

pauli : Pauli

Output : Pauli

Example

Given op and pauli, the following are equivalent up to phase:

PauliAsSingleQubitClifford(Action1C(op, pauli));
Times1C(op, Times1C(PauliAsSingleQubitClifford(pauli), Inverse1C(op)));