pygsti.evotypes.stabilizer_slow

A pure python (and thus slower) stabilizer-state, evolution type.

Submodules

Package Contents

Classes

EffectRep

The base class for all POVM effect representation classes

EffectRepComputational

The base class for all POVM effect representation classes

EffectRepComposed

The base class for all POVM effect representation classes

OpRep

The base class for all operation representation classes

OpRepClifford

The base class for all operation representation classes

OpRepStandard

The base class for all operation representation classes

OpRepComposed

The base class for all operation representation classes

OpRepSum

The base class for all operation representation classes

OpRepEmbedded

The base class for all operation representation classes

OpRepExpErrorgen

The base class for all operation representation classes

OpRepRepeated

The base class for all operation representation classes

OpRepLindbladErrorgen

The base class for all operation representation classes

StateRep

The base class for all state representation classes

StateRepComputational

The base class for all state representation classes

StateRepComposed

The base class for all state representation classes

StateRepTensorProduct

The base class for all state representation classes

Attributes

minimal_space

SpaceT

pygsti.evotypes.stabilizer_slow.minimal_space = "'Hilbert'"
pygsti.evotypes.stabilizer_slow.SpaceT
class pygsti.evotypes.stabilizer_slow.EffectRep(state_space)

Bases: pygsti.evotypes.basereps.EffectRep

The base class for all POVM effect representation classes

property nqubits
state_space
probability(state)
amplitude(state)
to_dense(on_space: pygsti.SpaceT)
class pygsti.evotypes.stabilizer_slow.EffectRepComputational(zvals, basis, state_space)

Bases: EffectRep

The base class for all POVM effect representation classes

zvals
basis
to_dense(on_space: pygsti.SpaceT, outvec=None)
class pygsti.evotypes.stabilizer_slow.EffectRepComposed(op_rep, effect_rep, op_id, state_space)

Bases: EffectRep

The base class for all POVM effect representation classes

op_rep
effect_rep
op_id
probability(state)
amplitude(state)
class pygsti.evotypes.stabilizer_slow.OpRep(state_space)

Bases: pygsti.evotypes.basereps.OpRep

The base class for all operation representation classes

property nqubits
state_space
abstractmethod acton(state)
abstractmethod adjoint_acton(state)
class pygsti.evotypes.stabilizer_slow.OpRepClifford(unitarymx, symplecticrep, basis, state_space)

Bases: OpRep

The base class for all operation representation classes

property unitary_dagger
unitary
basis
acton(state)

Act this gate map on an input state

adjoint_acton(state)

Act the adjoint of this operation matrix on an input state

class pygsti.evotypes.stabilizer_slow.OpRepStandard(name, basis, state_space)

Bases: OpRepClifford

The base class for all operation representation classes

name
class pygsti.evotypes.stabilizer_slow.OpRepComposed(factor_op_reps, state_space)

Bases: OpRep

The base class for all operation representation classes

factor_reps
reinit_factor_op_reps(factor_op_reps)
acton(state)

Act this gate map on an input state

adjoint_acton(state)

Act the adjoint of this operation matrix on an input state

class pygsti.evotypes.stabilizer_slow.OpRepSum(factor_reps, state_space)

Bases: OpRep

The base class for all operation representation classes

factor_reps
reinit_factor_reps(factor_reps)
abstractmethod acton(state)

Act this gate map on an input state

abstractmethod adjoint_acton(state)

Act the adjoint of this operation matrix on an input state

class pygsti.evotypes.stabilizer_slow.OpRepEmbedded(state_space, target_labels, embedded_rep)

Bases: OpRep

The base class for all operation representation classes

embedded_rep
qubits
acton(state)
adjoint_acton(state)
class pygsti.evotypes.stabilizer_slow.OpRepExpErrorgen(errorgen_rep)

Bases: OpRep

The base class for all operation representation classes

errorgen_rep
errgenrep_has_changed(onenorm_upperbound)
acton(state)
adjoint_acton(state)
class pygsti.evotypes.stabilizer_slow.OpRepRepeated(rep_to_repeat, num_repetitions, state_space)

Bases: OpRep

The base class for all operation representation classes

repeated_rep
num_repetitions
acton(state)

Act this gate map on an input state

adjoint_acton(state)

Act the adjoint of this operation matrix on an input state

class pygsti.evotypes.stabilizer_slow.OpRepLindbladErrorgen(lindblad_coefficient_blocks, state_space)

Bases: OpRep

The base class for all operation representation classes

Lterms = 'None'
Lterm_coeffs = 'None'
lindblad_coefficient_blocks
class pygsti.evotypes.stabilizer_slow.StateRep(smatrix, pvectors, amps, state_space)

Bases: pygsti.evotypes.basereps.StateRep

The base class for all state representation classes

property smatrix
property pvectors
property amps
property nqubits
state_space
sframe
actionable_staterep()
copy()
class pygsti.evotypes.stabilizer_slow.StateRepComputational(zvals, basis, state_space)

Bases: StateRep

The base class for all state representation classes

zvals
basis
class pygsti.evotypes.stabilizer_slow.StateRepComposed(state_rep, op_rep, state_space)

Bases: StateRep

The base class for all state representation classes

state_rep
op_rep
reps_have_changed()
actionable_staterep()
class pygsti.evotypes.stabilizer_slow.StateRepTensorProduct(factor_state_reps, state_space)

Bases: StateRep

The base class for all state representation classes

factor_reps
reps_have_changed()