MatchCake

matchcake.devices.star_state_finding_strategies package

Submodules

matchcake.devices.star_state_finding_strategies.a_star_strategy module

matchcake.devices.star_state_finding_strategies.from_sampling_strategy module

class matchcake.devices.star_state_finding_strategies.from_sampling_strategy.FromSamplingStrategy

Bases: StarStateFindingStrategy

NAME: str = 'FromSampling'
__call__(device: QubitDevice, states_prob_func: Callable[[TensorLike, Wires], TensorLike], **kwargs) Tuple[TensorLike, TensorLike]

Call self as a function.

matchcake.devices.star_state_finding_strategies.greedy_strategy module

class matchcake.devices.star_state_finding_strategies.greedy_strategy.GreedyStrategy

Bases: StarStateFindingStrategy

NAME: str = 'Greedy'
__call__(device: QubitDevice, states_prob_func: Callable[[TensorLike, Wires], TensorLike], **kwargs) Tuple[TensorLike, TensorLike]

Call self as a function.

matchcake.devices.star_state_finding_strategies.star_state_finding_strategy module

class matchcake.devices.star_state_finding_strategies.star_state_finding_strategy.StarStateFindingStrategy

Bases: ABC

NAME: str = 'StarStateFindingStrategy'
abstract __call__(device: QubitDevice, states_prob_func: Callable[[TensorLike, Wires], TensorLike], **kwargs) Tuple[TensorLike, TensorLike]

Call self as a function.

Module contents

matchcake.devices.star_state_finding_strategies.get_star_state_finding_strategy(name: str | StarStateFindingStrategy) StarStateFindingStrategy