Sampler¶
A module of sampling tools for POVMs.
At their core, POVMs are used in combination with sampling the state of a quantum circuit. In Qiskit, this functionality is provided via the Sampler primitive.
To this end, this module provides a number of tools for sampling the state of
QuantumCircuit
objects using a POVMImplementation
.
The Sampler¶
As a consumer of this library, you will be mostly concerned with the POVMSampler
class as
your entry point for submitting POVM sampling jobs.
A |
Additional Classes¶
However, this module also contains these additional classes which you may come in contact with while
working with the in- and outputs of the POVMSampler
.
The Pub (Primitive Unified Bloc) input structure for |
|
The job returned by |
|
The result of a |
- POVMSamplerPubLike¶
alias of
QuantumCircuit
|tuple
[QuantumCircuit
] |tuple
[QuantumCircuit
,Mapping
[Parameter
|str
|Tuple
[Parameter
|str
, …],_SupportsArray
[dtype
[Any
]] |_NestedSequence
[_SupportsArray
[dtype
[Any
]]] |bool
|int
|float
|complex
|str
|bytes
|_NestedSequence
[bool
|int
|float
|complex
|str
|bytes
]]] |tuple
[QuantumCircuit
,Mapping
[Parameter
|str
|Tuple
[Parameter
|str
, …],_SupportsArray
[dtype
[Any
]] |_NestedSequence
[_SupportsArray
[dtype
[Any
]]] |bool
|int
|float
|complex
|str
|bytes
|_NestedSequence
[bool
|int
|float
|complex
|str
|bytes
]],Integral
|None
] |tuple
[QuantumCircuit
,Mapping
[Parameter
|str
|Tuple
[Parameter
|str
, …],_SupportsArray
[dtype
[Any
]] |_NestedSequence
[_SupportsArray
[dtype
[Any
]]] |bool
|int
|float
|complex
|str
|bytes
|_NestedSequence
[bool
|int
|float
|complex
|str
|bytes
]],Integral
|None
,POVMImplementation
|None
]