teleport: teleport

Description Usage Arguments Value Examples

View source: R/teleport.R

Description

Shows the steps of teleporting a single qubit

Usage

1

Arguments

v

Ket (column vector) to teleport

Value

String describing teleportation process

Examples

1
 teleport(ket(2,1))

Example output

Attaching package:QuantumOpsThe following object is masked frompackage:stats:

    dist

The following objects are masked frompackage:base:

    I, norm, single

[1] "Initial state"
[1] "Pre-Measurement"
[1] "If measure 00, state of teleported ket is"
[1] "If measure 01, state of teleported ket is"
[1] "If measure 10, state of teleported ket is"
[1] "If measure 11, state of teleported ket is"
[1] "0.447|0> + -0.894|1>"

QuantumOps documentation built on Feb. 3, 2020, 5:07 p.m.