MultiFactory#

qualtran.surface_code.MultiFactory

Overlay of MagicStateFactory representing multiple factories of the same kind.

Inherits From: MagicStateFactory

All quantities are derived by those of base_factory. footprint is multiplied by n_factories, n_cycles is divided by n_factories, and distillation_error is independent on the number of factories.

base_factory

the base factory to be replicated.

n_factories

number of factories to construct.

base_factory

 

n_factories

 

Methods#

n_physical_qubits

View source

The number of physical qubits used by the magic state factory.

n_cycles

View source

The number of cycles (time) required to produce the requested number of magic states.

factory_error

View source

The total error expected from distilling magic states with a given physical error rate.

This includes the cumulative effects of data-processing errors and distillation failures.

__ne__

Check equality and either forward a NotImplemented or return the result negated.

__eq__

Method generated by attrs for class MultiFactory.