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

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

Bases: pygsti.evotypes.basereps.EffectRep

The base class for all POVM effect representation classes

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

Bases: EffectRep

The base class for all POVM effect representation classes

to_dense(on_space, 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

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
abstract acton(state)
abstract 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
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

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

Bases: OpRep

The base class for all operation representation classes

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

reinit_factor_reps(factor_reps)
abstract acton(state)

Act this gate map on an input state

abstract 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

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

Bases: OpRep

The base class for all operation representation classes

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

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

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
actionable_staterep()
copy()
class pygsti.evotypes.stabilizer_slow.StateRepComputational(zvals, basis, state_space)

Bases: StateRep

The base class for all state representation classes

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

Bases: StateRep

The base class for all state representation classes

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

reps_have_changed()