Why PennyLane
Features
Demos
Datasets
Performance
Devices
Teach
Getting Started
Install
Demos
Codebook
Challenges
Support
Documentation
How-to demos
Development guide
Catalyst
API
GitHub
Ecosystem
Blog
Glossary
Videos
FAQs
GitHub
Support
Search
Install
Search
Why PennyLane
Why PennyLane
Features
Demos
Datasets
Performance
Devices
Teach
Getting Started
Getting Started
Install
Demos
Codebook
Challenges
Support
Documentation
Documentation
How-to demos
Development guide
Catalyst
API
GitHub
Ecosystem
Ecosystem
Blog
Glossary
Videos
FAQs
GitHub
Support
Install
Navigation
index
modules
|
next
|
previous
|
PennyLane 0.39.0 documentation
»
qml.devices
»
qml.devices.default_tensor
»
qml.devices.default_tensor.expval_core_tensor
Table of contents
Search
Using PennyLane
What is PennyLane?
Quantum circuits
Gradients and training
Quantum operators
Measurements
Dynamic quantum circuits
Templates
Inspecting circuits
Compiling circuits
Compiling workflows
Importing workflows
Quantum Chemistry
Quantum Datasets
Logging
Release news
Release notes
Deprecations
Updated Operators
Development
Development guide
Building a plugin
Adding new operators
API
qml
qml.compiler
qml.data
qml.debugging
qml.drawer
qml.fermi
qml.fourier
qml.gradients
qml.kernels
qml.labs
qml.logging
qml.math
qml.noise
qml.numpy
qml.ops.op_math
qml.pauli
qml.pulse
qml.qcut
qml.qinfo
qml.resource
qml.shadows
qml.transforms
qml.qaoa
qml.qchem
qml.qnn
qml.spin
Internals
qml.capture
qml.devices
qml.measurements
qml.pytrees
qml.operation
qml.queuing
qml.tape
qml.utils
qml.wires
qml.workflow
Docs
qml.devices
qml.devices.default_tensor
qml.devices.default_tensor.expval_core_tensor
qml.devices.default_tensor.expval_core_tensor
¶
expval_core_tensor
(
obs
,
device
)
[source]
¶
Computes the expval of a Tensor.
code/api/pennylane.devices.default_tensor.expval_core_tensor
Download Python script
Download Notebook
View on GitHub
Contents
Using PennyLane
What is PennyLane?
Quantum circuits
Gradients and training
Quantum operators
Measurements
Dynamic quantum circuits
Templates
Inspecting circuits
Compiling circuits
Compiling workflows
Importing workflows
Quantum Chemistry
Quantum Datasets
Logging
Release news
Release notes
Deprecations
Updated Operators
Development
Development guide
Building a plugin
Adding new operators
API
qml
qml.compiler
qml.data
qml.debugging
qml.drawer
qml.fermi
qml.fourier
qml.gradients
qml.kernels
qml.labs
qml.logging
qml.math
qml.noise
qml.numpy
qml.ops.op_math
qml.pauli
qml.pulse
qml.qcut
qml.qinfo
qml.resource
qml.shadows
qml.transforms
qml.qaoa
qml.qchem
qml.qnn
qml.spin
Internals
qml.capture
qml.devices
qml.devices.default_qubit
qml.devices.default_gaussian
qml.devices.default_mixed
qml.devices.default_qutrit
qml.devices.default_qutrit_mixed
qml.devices.default_clifford
qml.devices.default_tensor
qml.devices.default_tensor.DefaultTensor
qml.devices.default_tensor.accepted_methods
qml.devices.default_tensor.accepted_observables
qml.devices.default_tensor.apply_operation_core
qml.devices.default_tensor.apply_operation_core_global_phase
qml.devices.default_tensor.apply_operation_core_multirz
qml.devices.default_tensor.apply_operation_core_paulirot
qml.devices.default_tensor.apply_operation_core_trotter_product
qml.devices.default_tensor.expval_core
qml.devices.default_tensor.expval_core_linear_combination
qml.devices.default_tensor.expval_core_prod
qml.devices.default_tensor.expval_core_sprod
qml.devices.default_tensor.expval_core_sum
qml.devices.default_tensor.expval_core_tensor
qml.devices.default_tensor.stopping_condition
qml.devices._legacy_device
qml.devices._qubit_device
qml.devices._qutrit_device
qml.devices.null_qubit
qml.devices.reference_qubit
qml.devices.tests
Next generation devices
Preprocessing Transforms
Modifiers
Qubit Simulation Tools
Qutrit Mixed-State Simulation Tools
qml.measurements
qml.pytrees
qml.operation
qml.queuing
qml.tape
qml.utils
qml.wires
qml.workflow
Downloads
code/api/pennylane.devices.default_tensor.expval_core_tensor
Download Python script
Download Notebook
View on GitHub
Related
Navigation
index
modules
|
next
|
previous
|
PennyLane 0.39.0 documentation
»
qml.devices
»
qml.devices.default_tensor
»
qml.devices.default_tensor.expval_core_tensor