pygsti.evotypes.densitymx_slow

A pure python (and thus slower) density-matrix, evolution type.

Submodules

Package Contents

Classes

EffectRep

The base class for all POVM effect representation classes

EffectRepConjugatedState

The base class for all POVM effect representation classes

EffectRepComputational

The base class for all POVM effect representation classes

EffectRepTensorProduct

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

OpRepDenseSuperop

The base class for all operation representation classes

OpRepDenseUnitary

The base class for all operation representation classes

OpRepSparse

The base class for all operation representation classes

OpRepStandard

The base class for all operation representation classes

OpRepKraus

The base class for all operation representation classes

OpRepRandomUnitary

The base class for all operation representation classes

OpRepStochastic

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

OpRepIdentityPlusErrorgen

The base class for all operation representation classes

OpRepRepeated

The base class for all operation representation classes

StateRep

The base class for all state representation classes

StateRepDense

The base class for all state representation classes

StateRepDensePure

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.densitymx_slow.minimal_space = "'HilbertSchmidt'"
class pygsti.evotypes.densitymx_slow.EffectRep(state_space)

Bases: pygsti.evotypes.basereps.EffectRep

The base class for all POVM effect representation classes

abstract probability(state)
class pygsti.evotypes.densitymx_slow.EffectRepConjugatedState(state_rep)

Bases: EffectRep

The base class for all POVM effect representation classes

probability(state)
to_dense(on_space)
class pygsti.evotypes.densitymx_slow.EffectRepComputational(zvals, basis, state_space)

Bases: EffectRep

The base class for all POVM effect representation classes

probability(state)
to_dense(on_space, outvec=None)
class pygsti.evotypes.densitymx_slow.EffectRepTensorProduct(povm_factors, effect_labels, state_space)

Bases: EffectRep

The base class for all POVM effect representation classes

to_dense(on_space, outvec=None)
probability(state)
factor_effects_have_changed()
class pygsti.evotypes.densitymx_slow.EffectRepComposed(op_rep, effect_rep, op_id, state_space)

Bases: EffectRep

The base class for all POVM effect representation classes

probability(state)
class pygsti.evotypes.densitymx_slow.OpRep(state_space)

Bases: pygsti.evotypes.basereps.OpRep

The base class for all operation representation classes

property dim
abstract acton(state)
abstract adjoint_acton(state)
aslinearoperator()
class pygsti.evotypes.densitymx_slow.OpRepDenseSuperop(mx, basis, state_space)

Bases: OpRep

The base class for all operation representation classes

base_has_changed()
to_dense(on_space)
acton(state)
adjoint_acton(state)
copy()
class pygsti.evotypes.densitymx_slow.OpRepDenseUnitary(mx, basis, state_space)

Bases: OpRep

The base class for all operation representation classes

base_has_changed()
to_dense(on_space)
to_dense_superop()
acton(state)
adjoint_acton(state)
copy()
class pygsti.evotypes.densitymx_slow.OpRepSparse(a_data, a_indices, a_indptr, state_space)

Bases: OpRep

The base class for all operation representation classes

property data
property indices
property indptr
acton(state)

Act this gate map on an input state

adjoint_acton(state)

Act the adjoint of this operation matrix on an input state

to_dense(on_space)
class pygsti.evotypes.densitymx_slow.OpRepStandard(name, basis, state_space)

Bases: OpRepDenseSuperop

The base class for all operation representation classes

class pygsti.evotypes.densitymx_slow.OpRepKraus(basis, kraus_reps, state_space)

Bases: OpRep

The base class for all operation representation classes

acton(state)
adjoint_acton(state)
copy()
to_dense(on_space)
class pygsti.evotypes.densitymx_slow.OpRepRandomUnitary(basis, unitary_rates, unitary_reps, seed_or_state, state_space)

Bases: OpRep

The base class for all operation representation classes

acton(state)
adjoint_acton(state)
copy()
update_unitary_rates(rates)
to_dense(on_space)
class pygsti.evotypes.densitymx_slow.OpRepStochastic(stochastic_basis, basis, initial_rates, seed_or_state, state_space)

Bases: OpRepRandomUnitary

The base class for all operation representation classes

update_rates(rates)
class pygsti.evotypes.densitymx_slow.OpRepComposed(factor_op_reps, 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

reinit_factor_op_reps(factor_reps)
class pygsti.evotypes.densitymx_slow.OpRepSum(factor_reps, state_space)

Bases: OpRep

The base class for all operation representation classes

reinit_factor_reps(factor_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.densitymx_slow.OpRepEmbedded(state_space, target_labels, embedded_rep)

Bases: OpRep

The base class for all operation representation classes

acton(state)
adjoint_acton(state)

Act the adjoint of this gate map on an input state

class pygsti.evotypes.densitymx_slow.OpRepExpErrorgen(errorgen_rep)

Bases: OpRep

The base class for all operation representation classes

errgenrep_has_changed(onenorm_upperbound)
set_exp_params(mu, eta, m_star, s)
exp_params()
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.densitymx_slow.OpRepIdentityPlusErrorgen(errorgen_rep)

Bases: OpRep

The base class for all operation representation classes

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.densitymx_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.densitymx_slow.StateRep(data, state_space)

Bases: pygsti.evotypes.basereps.StateRep

The base class for all state representation classes

property dim
copy_from(other)
actionable_staterep()
to_dense(on_space)
class pygsti.evotypes.densitymx_slow.StateRepDense(data, state_space, basis)

Bases: StateRep

The base class for all state representation classes

property base
base_has_changed()
class pygsti.evotypes.densitymx_slow.StateRepDensePure(purevec, basis, state_space)

Bases: StateRep

The base class for all state representation classes

base_has_changed()
class pygsti.evotypes.densitymx_slow.StateRepComputational(zvals, basis, state_space)

Bases: StateRep

The base class for all state representation classes

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

Bases: StateRep

The base class for all state representation classes

reps_have_changed()
class pygsti.evotypes.densitymx_slow.StateRepTensorProduct(factor_state_reps, state_space)

Bases: StateRep

The base class for all state representation classes

reps_have_changed()