Skip to main content
IBM Quantum Platform
Informations sur la traduction

D'autres traductions de cette page seront bientôt disponibles.

CollectionNode

class samplomatic.samplex.nodes.CollectionNode

GitHub

Bases: ABC, Node

A node that collects register state for return.

Methods Summary

Chronique « 1 »
Chronique « 2 »
collect(registers, outputs, rng)Collect.
get_style()Return the style of this node when plotted.

Methods Documentation

collect

abstractmethod collect(registers: dict[str, VirtualRegister], outputs: SamplexOutput, rng: Generator)

GitHub

Collect.

Parameters

  • registers – Registers to collect from.
  • outputs – Where to output.
  • rng – A randomness generator.

get_style

get_style()

GitHub

Return the style of this node when plotted.

Cette page a-t-elle été utile ?
Signaler un bogue, une coquille ou proposer du contenu sur GitHub.