Skip to main content
IBM Quantum Platform
翻訳情報

このページの追加言語翻訳は近日公開予定です。

InjectLocalClifford

class samplomatic.annotations.InjectLocalClifford(ref: str, decomposition: DecompositionMode | Literal['rzsx', 'rzrx'] = DecompositionMode.RZSX, dressing: DressingMode | Literal['left', 'right'] = DressingMode.LEFT)

GitHub

Bases: Annotation

Directive to inject local Cliffords.

The resulting Samplex built from a circuit with a box with this annotation has a tensor input with name local_cliffords.ref and shape '(len(box_instruction.qubits),)'. The tensor is indexed in physical qubit order, in other words, the order of the qubits in the outer-most circuit, restricted to those used by the box.

Parameters

  • ref – A unique identifier of the Cliffords.
  • decomposition – How to decompose the Cliffords.
  • dressing – Which side of the box to attach the dressing instructions.

Attributes Summary

コラム「 1 」
コラム「 2 」
decomposition
dressing
namespace
ref

Attributes Documentation

decomposition

dressing

namespace

Default value: 'samplomatic.inject_local_clifford'

ref

このページは役に立ちましたか?
バグや誤字の報告、またはコンテンツの要求はGitHubで行ってください。